[PATCH] commands: eliminate the 'manifest' command and merge it into 'locate'

Matt Mackall mpm at selenic.com
Mon Aug 10 15:08:30 CDT 2009


On Mon, 2009-08-10 at 19:08 +0200, Dan Villiom Podlaski Christiansen
wrote:
> # HG changeset patch
> # User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
> # Date 1249918039 -7200
> # Node ID 1ff4dfc35a7e5ddb34057d66133cf6f39356f2cc
> # Parent  3a4bee915c3109df3110df8e65136f72374c1c1c
> commands: eliminate the 'manifest' command and merge it into 'locate'.
> 
> The functionality of the previous manifest command is merged into the
> locate command. Now, 'manifest' is simply another way to refer to the
> 'locate' command.

This is a little odd.

locate primarily exists to find paths in the working directory
manifest primarily exists to list paths in changesets

So we've got both find vs list and repository vs working directory
differences. In particular, 'hg manifest' will list all files in the
parent changeset, not all tracked files in the working directory, which
can be entirely different things.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list