new status output

Steve Borho steve at ageia.com
Tue Oct 18 21:25:36 BST 2005


On Tuesday 18 October 2005 11:18 am, Matthieu Moy wrote:
> Romain Francoise <romain at orebokech.com> writes:
> > A simple, guaranteed interface ala 'svn status' would be ideal.
>
> I never used svn, but I guess is looks like the output of CVS. What's
> nice with the prefixed output is that it works nicely with "grep" +
> "cut".

This is also extremely useful for command line completion.  I've generated a 
zsh completion script for Mercurial which uses 'hg status' to find 
appropriate file lists for most functions.

For instance, to generate a completion list for 'hg add', you simply ask 
Mercurial for a list of unknown files in the current directory:

hg status -un

It would be nice if this format was available via a command line option.

--
Steve Borho




More information about the bazaar mailing list