[MERGE/RFC] Branch.merge_sorted_revisions

Ian Clatworthy ian.clatworthy at internode.on.net
Wed Jan 21 01:04:24 GMT 2009


This patch proposes a new API for Branch called
merge_sorted_revisions(). The implementation of
get_revision_id_to_revno_map() has been
refactored to use this new method.

Assuming this API is OK by everyone, the next step
is to refactor log/missing/annotate/etc. to use
this method (rather than reimplement the same
block of code as they currently do).

I'm also hoping to use this hook in my revnocache
plugin, i.e. cache the merge graph and not just
the revid => revno part of it.

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: branch-merge-sorted-revisions.patch
Type: text/x-diff
Size: 7833 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090121/c444d7f2/attachment.bin 


More information about the bazaar mailing list