[PATCH] rebase: do not raise an UnboundLocalError when called with wrong rev (issue4106)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Feb 13 18:35:29 CST 2014



On 02/13/2014 04:22 PM, Simon Heimberg wrote:
> Am 14.02.2014 01:16, schrieb Pierre-Yves David:
>>
>>
>> On 02/13/2014 03:41 PM, Simon Heimberg wrote:
>>> # HG changeset patch
>>> # User Simon Heimberg <simohe at besonet.ch>
>>> # Date 1392334460 -3600
>>> # Node ID 0ed5bb67f3403b8e0655ee5ff2a7aeb32e307837
>>> # Parent  0f1ef9e9e904c18f1ac96aef3a0e0d3aa5f1190c
>>> rebase: do not raise an UnboundLocalError when called with wrong rev
>>> (issue4106)
>>
>> Is this something happening only when other extension call rebase
>> directly?
>>
>
> Exactly.

So reading you description, we keep crashing. Was will be the error 
message in that case?

I tempted to keep crashing early, an AssertionError or ProgrammingError 
would be fine.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list