From: Jim Meyering Date: Tue, 30 Jan 2007 22:07:38 +0000 (+0100) Subject: * vc-list-files: Select column 2, not 3 (hg-0.9.3's manifest format X-Git-Tag: COREUTILS-6_8~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82276cbd2e101862d1f7a7a7d282dd4afc5dd398;p=thirdparty%2Fcoreutils.git * vc-list-files: Select column 2, not 3 (hg-0.9.3's manifest format now has only two columns). --- diff --git a/build-aux/ChangeLog b/build-aux/ChangeLog index 164624767f..c18b1c26cf 100644 --- a/build-aux/ChangeLog +++ b/build-aux/ChangeLog @@ -1,3 +1,8 @@ +2007-01-30 Jim Meyering + + * 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 * 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 992048751b..b170638b44 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