Accessing configuration when hosting via smart server...
John Szakmeister
john at szakmeister.net
Tue Apr 13 09:38:45 BST 2010
On Mon, Apr 12, 2010 at 10:56 PM, Andrew Bennetts
<andrew.bennetts at canonical.com> wrote:
[snip]
> It sounds like the bzr-hookless-email suggestion has solved this for
> you. In case you're curious, the unpredictable server-internal URL is
> <https://bugs.launchpad.net/bzr/+bug/270267>: “hooks fired by smart
> server can't easily obtain absolute path to branch on the server.”
>
> Although even if branch.bzrdir.root_transport.local_abspath() or
> .external_url() did the right thing, that is still a bit in convenient
> for plugins, which should be able to just do branch.get_config() and
> expect the relevant parts of locations.conf to automatically apply
> without any special fiddling.
That's exactly what I was thinking.
> Thanks for the reminder that this is a problem, I've bumped up the
> priority on that bug.
Thank you Andrew!
-John
More information about the bazaar
mailing list