Using server side hook to check files changed
John Arbash Meinel
john at arbash-meinel.com
Tue Oct 30 08:28:22 UTC 2012
-----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'.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCPj6QACgkQJdeBCYSNAAPOCwCg18iVNfrIWbiLVMQXHxcIgJjd
zs0AoLU5EavQi9ym8Wa58rSr4rBTxQce
=p91n
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list