[RFC] Better hooks for Bazaar

Andrew Bennetts andrew at canonical.com
Tue Dec 18 03:34:04 GMT 2007


Robert Collins wrote:
> 
> 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.

Right.  Probably the _real_branch is passed to the fetch code, or something like
that.

-Andrew.




More information about the bazaar mailing list