bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] build-aux/vc-list-files: Add support for bzr.


From: Jim Meyering
Subject: [PATCH] build-aux/vc-list-files: Add support for bzr.
Date: Tue, 06 May 2008 23:18:41 +0200

FYI, just pushed:

>From 176956aa54d75b82c90e7df4e74b4b8c94dc0181 Mon Sep 17 00:00:00 2001
From: Soren Hansen <address@hidden>
Date: Tue, 6 May 2008 23:12:55 +0200
Subject: [PATCH] build-aux/vc-list-files: Add support for bzr.

Signed-off-by: Jim Meyering <address@hidden>
---
 ChangeLog               |    4 ++++
 build-aux/vc-list-files |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ec7d295..df3cc32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-06  Soren Hansen  <address@hidden>  (tiny change)
+
+       * build-aux/vc-list-files: Add support for bzr.
+
 2008-05-03  Jim Meyering  <address@hidden>

        avoid failed assertion with tight malloc
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 193c497..8ca4530 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -75,6 +75,9 @@ if test -d .git; then
   eval exec git ls-files '"$dir"' $postprocess
 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
 elif test -d CVS; then
   test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
   if test -x build-aux/cvsu; then
--
1.5.5.1.148.g4c99ee




reply via email to

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