changeset 13257:cefd3d523484

vc-list-files: add subversion support * build-aux/vc-list-files: Use "svn list" to generate the list of files controlled by subversion.
author Giuseppe Scrivano <gscrivano@gnu.org>
date Sat, 24 Apr 2010 00:46:29 +0200
parents becb13be04d7
children 22d0473cd1a8
files ChangeLog build-aux/vc-list-files
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-24  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+	vc-list-files: Add support for subversion
+	* build-aux/vc-list-files: Use "svn list" to generate the list of
+	files controlled by subversion.
+
 2010-04-23  Jim Meyering  <meyering@redhat.com>
 
 	vc-list-files tests: convert to use init.sh
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -2,7 +2,7 @@
 # List version-controlled file names.
 
 # Print a version string.
-scriptversion=2010-02-21.13; # UTC
+scriptversion=2010-04-23.22; # UTC
 
 # Copyright (C) 2006-2010 Free Software Foundation, Inc.
 
@@ -102,6 +102,8 @@
 	}}'\''				\
       `find "$dir" -name Entries -print` /dev/null' $postprocess
   fi
+elif test -d .svn; then
+  eval exec svn list -R '"$dir"' $postprocess
 else
   echo "$0: Failed to determine type of version control used in `pwd`" 1>&2
   exit 1