[PATCH 1 of 3] Prevent command options from aliasing each other

Dan Villiom Podlaski Christiansen danchr at gmail.com
Fri Jul 10 07:03:23 CDT 2009


On 08/07/2009, at 19.45, Matt Mackall wrote:

> Seems like we'd end up with a lot of these. If we need to do this a  
> lot,
> we should instead add a helper function.

I've sent a patch that implements this ‘distinctification’ — for lack  
of a better word; ‘clone’ perhaps? — in the ‘dispatch’ and  
‘extensions’ modules. I haven't tested it extensively, but it appears  
to work :)

What do you think of the approach?

--

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/20090710/f2dfc5de/attachment.bin 


More information about the Mercurial-devel mailing list