RFC: files command
Augie Fackler
lists at durin42.com
Thu Nov 8 15:20:03 CST 2012
On Thu, Nov 8, 2012 at 2:35 PM, Matt Mackall <mpm at selenic.com> wrote:
> Right now we have two commands that give us lists of files, manifest and
> locate.
>
> manifest:
> reports on p1() by default
> can't reporting on working directory
> can't take file patterns
> can show file flags (-v) and hashes (--debug)
> has --all option
>
> locate:
> works on working copy by default
> can take file patterns, but:
> works from repo root by default (!)
> works on unanchored patterns by default (!)
> can't report file flags
> doesn't have --all option
> has --print0 support
>
> We could add all the locate features to manifest, but we still wouldn't
> be able to work on the working copy (for lack of a syntax to specify the
> working copy), or we could add all the manifest features to locate, but
> we'd have to keep the weird pattern semantics.
>
> So the proposed command would combine the best of these two commands and
> fix some of the strangeness of locate:
>
> files:
> works on working copy by default
> has 'normal' path handling, same as status
> can show file flags (-v) and hashes (--debug)
> has --all option
> has --print0 support
>
I like it. I've struggled with locate's weirdnesses at times.
>
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121108/757b778d/attachment.html>
More information about the Mercurial-devel
mailing list