hg qseries vs. stg series

Stepan Koltsov yozh at mx1.ru
Fri Feb 3 10:51:46 CST 2012


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?

-- 
Stepan


More information about the Mercurial-devel mailing list