[PATCH] fancyopts: Parse options that occur after arguments

Augie Fackler durin42 at gmail.com
Tue Feb 10 16:18:34 CST 2009


On Feb 10, 2009, at 4:00 PM, Matt Mackall wrote:

> On Tue, 2009-02-10 at 15:56 -0600, Matt Mackall wrote:
>> On Tue, 2009-02-10 at 13:30 -0600, Augie Fackler wrote:
>>> # HG changeset patch
>>> # User Augie Fackler <durin42 at gmail.com>
>>> # Date 1234293960 21600
>>> # Node ID 6db88544fd8f0a6bde344e7e93bdcb382155612d
>>> # Parent  b034161948959e36879bf96f29553b5a274e58a2
>>> fancyopts: Parse options that occur after arguments.
>>>
>>> This changes the behavior of qguard in the case of setting  
>>> negative guards, as -- will now always be required.
>>> Fixes issue1402.
>>
>> Queued.
>
> Trouble. Compare 'hg export -- -2' before and after.

Indeed. I'm adding a test for that case and fixing the patch  
accordingly.

> -- 
> http://selenic.com : development and support for Mercurial and Linux
>
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090210/ebfa1354/attachment.bin 


More information about the Mercurial-devel mailing list