bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] vc-list-files: Add support for subversion


From: Giuseppe Scrivano
Subject: [PATCH] vc-list-files: Add support for subversion
Date: Sat, 24 Apr 2010 01:12:48 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

A small patch.

Cheers,
Giuseppe



>From 3ac0d82429aa45c9360109a51af26ed3e338430f Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <address@hidden>
Date: Sat, 24 Apr 2010 00:46:29 +0200
Subject: [PATCH] vc-list-files: Add support for subversion

* 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 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc4aed3..590ca2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-24  Giuseppe Scrivano  <address@hidden>
+
+       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  <address@hidden>
 
        vc-list-files tests: convert to use init.sh
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index b9f2fbd..48a33ee 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
-- 
1.7.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]