[Python-Dev] Generating patch files

"Martin v. Löwis" martin at v.loewis.de
Thu Mar 17 02:40:49 CET 2011


Am 16.03.11 15:29, schrieb "Martin v. Löwis":
> Am 16.03.11 15:20, schrieb "Martin v. Löwis":
>>> I get "unknown revision" (listing the full expression text) when using
>>> Mercurial 1.6.3 (default version in Ubuntu 10.10).
>>>
>>> That version apparently supports revsets, but I'm not sure when the
>>> runtime evaluation of the command line arguments was added.
>>
>> Apparently shortly after Debian/Ubuntu included the release; I think
>> I had the same issue with 1.6.4.
>
> Before you upgrade: give me some time to come up with a script that
> uses Mercurial API instead to compute the revset and then invoke the
> diff command.

It turns out that 1.6 doesn't have the min() revset function, so I give 
up on that - the recipe can only work in 1.7 and later.

Regards,
Martin


More information about the Python-Dev mailing list