[RFC] Better hooks for Bazaar
Robert Collins
robertc at robertcollins.net
Tue Dec 18 03:21:17 GMT 2007
On Tue, 2007-12-18 at 11:17 +1100, Andrew Bennetts wrote:
> “set_rh” hooks.
>
> What's missing is that when a branch is pushed over the smart protocol, for some
> reason the client never makes a Branch.set_last_revision smart request. Looking
> at the -Dhpss output, it appears it just uploads the revision-history file or
> whatever directly by VFS requests.
bet you that remotebranch delegates to _real_branch the method that
would call set_revision_history.
-Rob
> So if someone can teach the client to just call that method rather than (or even
> in addition to) pushing the underlying format files, then we'll have server-side
> hooks.
>
> The other thing that would be needed to make server-side hooks really useful is
> a way to specify global configuration that a bzr+ssh process will read, so that
> people using bzr+ssh will have their server-side bzr process use the hooks. I
> suspect there's overlap here with the access control thread from a week or so
> ago.
/etc/bazaar/bazaar.conf ?
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- 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/20071218/18031765/attachment.pgp
More information about the bazaar
mailing list