summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-30 23:07:38 +0100
committerJim Meyering <jim@meyering.net>2007-01-30 23:07:38 +0100
commit82276cbd2e101862d1f7a7a7d282dd4afc5dd398 (patch)
treefe4ba0c827e10fc7f5dd3d94ad98f85705df915f /build-aux
parentc5d2da8ac8653f60d44f2ae9bcf726b341d13201 (diff)
downloadcoreutils-82276cbd2e101862d1f7a7a7d282dd4afc5dd398.tar.xz
* vc-list-files: Select column 2, not 3 (hg-0.9.3's manifest format
now has only two columns).
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/ChangeLog5
-rwxr-xr-xbuild-aux/vc-list-files6
2 files changed, 8 insertions, 3 deletions
diff --git a/build-aux/ChangeLog b/build-aux/ChangeLog
index 164624767..c18b1c26c 100644
--- a/build-aux/ChangeLog
+++ b/build-aux/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-30 Jim Meyering <jim@meyering.net>
+
+ * vc-list-files: Select column 2, not 3 (hg-0.9.3's manifest format
+ now has only two columns).
+
2006-10-14 Jim Meyering <jim@meyering.net>
* vc-list-files: Don't filter git-ls-files output through cut.
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 992048751..b170638b4 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -1,7 +1,7 @@
#!/bin/sh
# List the specified version-controlled files.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,9 +43,9 @@ if test -d .git; then
fi
elif test -d .hg; then
if test "x$include_prefix" = x; then
- hg manifest | cut -d ' ' -f 3
+ hg manifest | cut -d ' ' -f 2
else
- hg manifest | cut -d ' ' -f 3 | grep "^$include_prefix/"
+ hg manifest | cut -d ' ' -f 2 | grep "^$include_prefix/"
fi
elif test -x build-aux/cvsu; then
build-aux/cvsu --find --types=AFGM $include_prefix