hg status: add option -f to select filetype

Thomas Arendsen Hein thomas at intevation.de
Wed Jul 20 12:23:13 UTC 2005


* Bryan O'Sullivan <bos at serpentine.com> [20050720 12:26]:
> On Wed, 2005-07-20 at 09:28 +0200, Thomas Arendsen Hein wrote:
> > What about separate (already used elsewhere) flags for each status?
> > 
> > -c, --changed
> > -a, --added
> > -r, --removed
> > -u, --unknown
> 
> I'd prefer not to use -r for removed, as it's used everywhere else for
> revisions.  How about -d for --deleted?

You're right that -r might be confused for --rev, but because these
four options are such closely related, nobody will look at them
outside this context, while having status R related to switch -r
related to the hg remove command seems to be easy to remember.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial mailing list