[MERGE] add a hook for Branch.set_last_revision_info()

James Henstridge james at jamesh.id.au
Wed Apr 9 04:44:50 BST 2008


On 09/04/2008, James Henstridge <james at jamesh.id.au> wrote:
> Attached is a merge of my branch and Ian's (it is primarily Ian's API
>  and documentation with my tests).
>
>  I also cleaned up a few bugs in Ian's branch that the tests showed up.
>   I also changed the ordering of the revno and revision_id arguments to
>  _make_branch_tip_hook_params() to match set_last_revision_info():
>  using different orders in different places is asking for trouble.

On IRC Aaron suggested that the branch being changed be exposed as a
member of the params object passed to the hook rather than as a
separate argument.  The attached bundle makes that change.

James.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-post-change-branch-tip-v2.patch
Type: text/x-diff
Size: 21665 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080409/c19155f1/attachment-0001.bin 


More information about the bazaar mailing list