[Libvir] [PATCH] Pull vc-list-files from gnulib, and update.

Jim Meyering jim at meyering.net
Fri Feb 1 13:01:47 UTC 2008


"Richard W.M. Jones" <rjones at redhat.com> wrote:
> Jim Meyering wrote:
>> Now that I've added the vc-list-files script to gnulib,
>> this patch makes libvirt's bootstrap pull it from there.
>>
>> Changes from the previous version of the script:
>>
>>   I reintroduced support for mercurial (only lightly tested),
>>   and rearranged the directory-existence tests so git is first.
>
> Bit unclear - what do we actually use this script for?

Hi Rich,

It's used only in the "make syntax-check" rules in Makefile.maint.

>> +elif test -d .hg; then
>> +  exec hg locate "$dir/*"
>
> 'hg manifest' command does the same thing.

Yes, it's similar.
Unfortunately, using "hg manifest" (which this script did use
up until about a year ago) is problematic, since its output
format changed at some point between 0.9.2 and 0.9.5.

But then, I'm hardly a mercurial expert.  If someone can tell me of a
better way to make hg report just the names of version controlled files
in a given directory, portably, I'll be happy to adapt.




More information about the libvir-list mailing list