[MERGE] add stop_rule to Branch.iter_merge_sorted_revisions()

John Arbash Meinel john at arbash-meinel.com
Wed Jan 28 15:02:58 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Clatworthy wrote:

...

>> In this specific case I was thinking:
>>
>> parents = get_parent_map([revision])[revision]
>>
>> Where the length of parents can certainly be > 1.
> 
> Thinking out loud, I wonder if stopping at any parent ought to be explicitly
> supported, i.e. instead of having "with-merges" we had "include-until-parent"?
> That way we'd be matching against revision-ids instead of relying on any
> nuances of the depth calculation algorithm. I'm pretty sure
> include-until-parent makes with-merges redundant doesn't it?
> 
> Ian C.
> 

I would think so, and yes, I would probably prefer that as well. Though
I haven't really worked out the specifics to be positive on this.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmAc6IACgkQJdeBCYSNAAMapwCgxO8QG1Ax1ap/B7zBh2n13vmq
x7EAoNkbBzQbey9B19bz1KYVNR8hsTNu
=gKkP
-----END PGP SIGNATURE-----



More information about the bazaar mailing list