[PATCH 0 of 4] keyword: clean up verbosity and kwdemo

Martin Geisler mg at lazybytes.net
Wed Mar 17 05:03:50 CDT 2010


Christian Ebert <blacktrash at gmx.net> writes:

> Hi,
>
> These 4 patches deal with keyword's verbosity when overwriting
> (commit, kwexpand, kwshrink) and in kwdemo.
>
> overwrite: simply use ui.note, do not customize verbosity.
>            Makes hg commit -v more verbose, but there is no need
>            for keyword to have a "customized" verbose option.
>
> kwdemo: restrain information strictly to keyword related stuff.
>         At the same time a bit of a cleanup for this messy
>         function.

Thanks, I like how this simplifies the code. Pushed to crew.

I was debating whether the extra output in 'hg commit -v' will confuse
scripts that parse the output. But I'm not sure why a script would parse
the output to get the list of committed files when 'hg status' is more
suited for this.

-- 
Martin Geisler

Fast and powerful revision control: http://mercurial.selenic.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100317/25444ba3/attachment.pgp>


More information about the Mercurial-devel mailing list