That --mq option

Dan Villiom Podlaski Christiansen danchr at gmail.com
Fri Aug 13 04:43:53 CDT 2010


On 13 Aug 2010, at 10:27, Frank Kingswood wrote:

> Why is the --mq option only an option to some commands?

I believe it's provided for all core commands that take a repository argument, and not for commands provided by extensions.

> It seems that handling it as a global option (in the same way the global -R option is used in dispatch.py) would be more sensible?

AFAICT the necessary infrastructure isn't there; in order for this to work, extensions would have to be able to provide a global command, and be able to intercept and modify the arguments given to whatever command function is called.

Still, I agree that it would be a useful feature :)

--

Dan Villiom Podlaski Christiansen
danchr at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100813/44c403fd/attachment.bin>


More information about the Mercurial-devel mailing list