hg qseries vs. stg series

Matt Mackall mpm at selenic.com
Fri Feb 3 18:33:43 UTC 2012


On Fri, 2012-02-03 at 19:51 +0300, Stepan Koltsov wrote:
> Hi, mercurial developers.
> 
> I'm currently using git/stgit at work, but I'm a big fan of Mercurial and MQ.
> 
> Some MQ features can be done better. One of such features is series output.
> 
> `stg series` output is something like:
> 
> ===
> + examples-iml
> + error-function-reason
> > add-appendable
> - jdr
> - two-tests-override
> ===
> 
> `hg qseries` only outputs patch names:
> 
> ===
> examples-iml
> error-function-reason
> add-appendable
> jdr
> two-tests-override
> ===
> 
> stg output is much better.
> 
> `hg qseries` has -v flag that adds "A", "U", and "G" prefixes and patch number:
> 
> ===
> 0 A examples-iml
> 1 A error-function-reason
> 2 A add-appendable
> 3 U jdr
> 4 U two-tests-override
> ===
> 
> I think that:
> 
> * prefixed output should be on by default (and --noprefix option to
> turn prefixes off)
> * patch number seems noisy and useless to me
> * "+" and "-" signs are read better that "A" and "U"
> * ">" mark for current patch is convenient
> 
> So. I'd like to patch hg qseries to match stg series output. What do you think?

No thanks.

http://mercurial.selenic.com/wiki/CompatibilityRules

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list