[MERGE] add stop_rule to Branch.iter_merge_sorted_revisions()

Ian Clatworthy ian.clatworthy at internode.on.net
Tue Jan 27 04:34:07 GMT 2009


Ian Clatworthy wrote:
> I wrote on 25/01/2009:
>> It looks like 'inclusive' isn't flexible enough. I'm going to add a
>> parameter called (something like) stop_rule with values of:
>>
>> * "exclude" - leave the stop revision out of the result
>> * "include" - put the stop revision in the result
>> * "with-merges" - put the stop revision and nested merges in the result.
> 
> Attached.

An updated version with a bug fix and matching tests covering the single
revision edge case.

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stop-rule-ismr-2.patch
Type: text/x-diff
Size: 14173 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090127/d35b0cdd/attachment-0001.bin 


More information about the bazaar mailing list