hg status: add option -f to select filetype

TK Soh teekaysoh at yahoo.com
Sat Aug 6 22:04:57 CDT 2005



--- Thomas Arendsen Hein <thomas at intevation.de> wrote:

> * TK Soh <teekaysoh at yahoo.com> [20050722 02:44]:
> > +    filetype = "";
> > +    if opts['modified']: filetype += "M";
> > +    if opts[   'added']: filetype += "A";
> > +    if opts[ 'removed']: filetype += "R";
> > +    if opts[ 'unknown']: filetype += "?";
> 
> Python doesn't need ; at the end, but I've rewritten this code
> anyway, so they're gone.

Certainly my limitted python knowledge is revealing itself ;-)

> * TK Soh <teekaysoh at yahoo.com> [20050806 04:21]:
> > I wonder if the Hg team has considered this patch for commit.
> 
> I like it and so I included it with some changes to my tree.
> 
> Attached and pullable as usual.

Just gave to try. Looked good to me.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mercurial mailing list