summaryrefslogtreecommitdiff
path: root/build-aux/vc-list-files
diff options
context:
space:
mode:
authorSoren Hansen <soren@ubuntu.com>2008-05-06 23:12:55 +0200
committerJim Meyering <meyering@redhat.com>2008-05-06 23:13:30 +0200
commit176956aa54d75b82c90e7df4e74b4b8c94dc0181 (patch)
tree5806729f953336bc480033a7eccbc8270050d464 /build-aux/vc-list-files
parentdf302feb87e49ec4df471ada145513e1150a6f28 (diff)
downloadgnulib-176956aa54d75b82c90e7df4e74b4b8c94dc0181.tar.gz
build-aux/vc-list-files: Add support for bzr.
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-xbuild-aux/vc-list-files3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 193c497dbb..8ca4530f7a 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