RFC: files command

Christian Ebert blacktrash at gmx.net
Wed Nov 14 07:04:28 CST 2012


* Matt Mackall on Thursday, November 08, 2012 at 14:35:03 -0600
> 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

Ah, yes please.

-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the Mercurial-devel mailing list