# HG changeset patch # User Giuseppe Scrivano # Date 1272062789 -7200 # Node ID cefd3d523484e35aca07567f513792e37f0140c7 # Parent becb13be04d76fa9b66cf2d470df72130de10a94 vc-list-files: add subversion support * build-aux/vc-list-files: Use "svn list" to generate the list of files controlled by subversion. diff --git a/ChangeLog b/ChangeLog --- 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 --- 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