[MERGE] Add Branch.set_last_revision_info smart request

Andrew Bennetts andrew at canonical.com
Tue Apr 8 09:25:03 BST 2008


Hi all,

This change adds a Branch.set_last_revision_info verb to the smart protocol.  In
combination with Ian's proposed post_change_branch_tip hook
(https://lists.ubuntu.com/archives/bazaar/2008q2/040066.html) this will make it
possible to have server-side hooks when a branch's tip changes.

(James Henstridge's proposed set_last_revision_info hook would probably work as
well.)

This change depends on the “Better infrastructure for dealing with 'bad request'
responses from a smart server” patch I sent earlier today.

The tests are large relative to the actual new production code.  It can be
fiddly hitting all the error paths...

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smart-set-revision-info-3306.patch
Type: text/x-diff
Size: 29727 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080408/2240ae19/attachment-0001.bin 


More information about the bazaar mailing list