Using server side hook to check files changed

Stuart Moore stuart.moore+bzr at spektrix.com
Tue Oct 30 11:05:03 UTC 2012


On 30 October 2012 08:28, John Arbash Meinel <john at arbash-meinel.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ...
>
> >> I don't seem to be able to call repository.control_url - it
> >> seems to be part of ControlComponent; the object I have is a
> >> CHKInventoryRepository
> >
> >
> > Probably:
> >
> > repository.bzrdir.control_url
> >
> > John =:->
> >
> >
>
> So I double checked, 'repository.control_url' is an attribute, not a
> method, so you just reference it, you don't call it.
>
> repository.control_url will be $REPO_URL/.bzr/repository
> vs
> repository.bzrdir.control_url being $REPO_URL/.bzr
> And
> repository.user_url being $REPO_URL
>
> So you can choose what you are actually trying to expose. You might
> actually prefer 'user_url'.
>

Thanks, that's exactly what I want.

My apologies for the confusion - it seems we're running quite an old
version of bzr on the server (2.1.2) - it works fine on my local copy. I'll
look at getting the server version upgraded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20121030/d0bc0b92/attachment.html>


More information about the bazaar mailing list