build-aux/vc-list-files: Add support for bzr.
authorSoren Hansen <soren@ubuntu.com>
Tue, 6 May 2008 21:12:55 +0000 (23:12 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 May 2008 21:13:30 +0000 (23:13 +0200)
ChangeLog
build-aux/vc-list-files

index ec7d295..df3cc32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-06  Soren Hansen  <soren@ubuntu.com>  (tiny change)
+
+       * build-aux/vc-list-files: Add support for bzr.
+
 2008-05-03  Jim Meyering  <meyering@redhat.com>
 
        avoid failed assertion with tight malloc
index 193c497..8ca4530 100755 (executable)
@@ -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