summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2010-04-24 00:46:29 +0200
committerJim Meyering <meyering@redhat.com>2010-04-24 12:25:00 +0200
commit195a02b4a4c99da9f2cdf8b00fd398db474f0033 (patch)
treef89c692f993aac911ff6cf05d0b5d874fd3fab10
parentbda3b4454a255896a1aaa6ff89b677f52474b636 (diff)
downloadgnulib-195a02b4a4c99da9f2cdf8b00fd398db474f0033.tar.gz
vc-list-files: add subversion support
* build-aux/vc-list-files: Use "svn list" to generate the list of files controlled by subversion.
-rw-r--r--ChangeLog6
-rwxr-xr-xbuild-aux/vc-list-files4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dc4aed3838..590ca2d3fa 100644
--- 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
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index b9f2fbd8fc..48a33ee7f4 100755
--- 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 @@ 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