+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.
#!/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
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