[PATCH RFC] rename manifest command to files

Martin Geisler mg at aragost.com
Mon May 2 03:55:51 CDT 2011


Adrian Buehlmann <adrian at cadifra.com> writes:

> On 2011-04-30 16:03, Dan Villiom Podlaski Christiansen wrote:
>> So, which of these should be ‘files’? Which of them makes sense? One
>> possible option is to deprecate both manifest & locate, and replace
>> them with a ‘files’ command that includes the functionality of both.
>
> Can't we just rename 'manifest' to 'files' as a first step (as
> proposed by this patch) and defer your discussion of integrating
> "locate" into "files"/"manifest" later?

I have always though of 'hg manifest' as a kind of internal and
low-level command that dumps the list of files tracked by Mercurial,
i.e., its internal manifest. So the name is perfect for me.

Making a 'hg files' command would confuse things: as a user I should
consult 'hg status', possible 'hg status --all' if I want to know what
Mercurial knows about my filenames. That should be the end of the story.

> Or is integrating "locate" into manifest/files a requirement for you
> to ack this patch here? (which would be a bit odd, to me -- but I'll
> ask anyway to find out what you want).

I'm not so happy about the locate command either -- it seems to be a
test interface for our internal match module... 'hg status -ncmard' is
close to giving the same output and it's more powerful since you can
limit the output to different categories of files.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list