vc-list-files: add subversion support
authorGiuseppe Scrivano <gscrivano@gnu.org>
Fri, 23 Apr 2010 22:46:29 +0000 (00:46 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 24 Apr 2010 10:25:00 +0000 (12:25 +0200)
* build-aux/vc-list-files: Use "svn list" to generate the list of
files controlled by subversion.

ChangeLog
build-aux/vc-list-files

index dc4aed3..590ca2d 100644 (file)
--- 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
index b9f2fbd..48a33ee 100755 (executable)
@@ -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 @@ elif test -d CVS; then
        }}'\''                          \
       `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