[MERGE] Branch hooks implementation with a set_rh hook.
Robert Collins
robertc at robertcollins.net
Tue Jan 30 12:00:07 GMT 2007
On Tue, 2007-01-30 at 08:23 +1100, Robert Collins wrote:
> I'm in agreement and will do:
> * Remove the CamelCase on DefaultHooks -> default_hooks.
> * a setter function something like Branch.add_hook(name, callable)
> which will error on non-existing hooks with a specific exception.
These are done, new bundle attached.
> I'm not in agreement on changing set_revision_history to ask for the old
> revision history and pass it to the hook. I think that that is the wrong
> change for this api, and we should just do the other higher level apis
> quickly - i.e. for 0.15.
I'm now working on splitting out Branch.push from Branch.pull.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: branch-hooks.patch
Type: text/x-patch
Size: 30943 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070130/28fa4586/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070130/28fa4586/attachment-0001.pgp
More information about the bazaar
mailing list