From 195a02b4a4c99da9f2cdf8b00fd398db474f0033 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 24 Apr 2010 00:46:29 +0200 Subject: [PATCH] vc-list-files: add subversion support * build-aux/vc-list-files: Use "svn list" to generate the list of files controlled by subversion. --- ChangeLog | 6 ++++++ build-aux/vc-list-files | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dc4aed383..590ca2d3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-24 Giuseppe Scrivano + + 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 vc-list-files tests: convert to use init.sh diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files index b9f2fbd8f..48a33ee7f 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 -- 2.11.0