[PATCH 0 of 3] Add option for operating on queue repository

Martin Geisler mg at lazybytes.net
Fri Jul 10 13:24:48 CDT 2009


Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:

> On 08/07/2009, at 00.30, Michael Sommerville wrote:
>
>> However, IMHO, the suggested '-Q' option is a far more elegant
>> solution from a users perspective.
>
> I couldn't have said it any better myself ;)

Sorry, but I don't think it is more elegant. I cannot type "-Q" fast, so
I find it more elegant to type

  mq stat

than

  hg -Q stat

There is also a mental difference: I think of "hg..." commands as
working on my normal repository and "mq..." commands as working on the
patches. The "hg q..." command do both. Thinking like that makes both
"hg stat" and "mq stat" single concepts in my mind.

The "hg -Q stat" command mixes these concepts by starting with "hg..."
but still only touching the patches.

I guess it's a matter of training, though :-) And since I can keep my
shell alias I cannot be opposed to adding a -Q command everywhere. I
just don't think the argument is that clear cut as you guys make it.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090710/8efc8b91/attachment.pgp 


More information about the Mercurial-devel mailing list