[Top][All Lists]

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

[PATCH 1/4] vc-list-files: List bzr files recursively.

From: Martin von Gagern
Subject: [PATCH 1/4] vc-list-files: List bzr files recursively.
Date: Thu, 21 Jan 2010 15:39:47 +0100

bzr ls isn't recursive by default, so we have to add the "--recursive" flag.
The short form would have been "-R", but as the script uses "--versioned"
instead of "-V", using the long option seems more consistent.
 build-aux/vc-list-files |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index c07576d..41ecebd 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=2009-07-21.16; # UTC
+scriptversion=2010-01-21.13; # UTC
 # Copyright (C) 2006-2010 Free Software Foundation, Inc.
@@ -85,7 +85,7 @@ elif test -d .hg; then
   eval exec hg locate '"$dir/*"' $postprocess
 elif test -d .bzr; then
   test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
-  eval exec bzr ls --versioned '"$dir"' $postprocess
+  eval exec bzr ls --versioned --recursive '"$dir"' $postprocess
 elif test -d CVS; then
   test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
   if test -x build-aux/cvsu; then

reply via email to

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