[BUG?] bzr server hooks dont expose the real local url
Robert Collins
robertc at robertcollins.net
Fri May 18 19:11:40 BST 2007
This lets the bzr dbus plugin work correct when applied to 0.16. I'll
probably do this in the dbus plugin for 0.16 users; but I think
something like this should be done to bzr.dev for 0.17.
-Rob
=== modified file 'bzrlib/smart/server.py'
--- bzrlib/smart/server.py 2007-04-20 05:11:46 +0000
+++ bzrlib/smart/server.py 2007-05-18 17:42:00 +0000
@@ -66,7 +66,7 @@
def serve(self):
self._should_terminate = False
for hook in SmartTCPServer.hooks['server_started']:
- hook(self.backing_transport.base, self.get_url())
+ hook(self.backing_transport.server.backing_transport.base,
self.get_url())
self._started.set()
try:
try:
--
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/20070519/4fc382a8/attachment.pgp
More information about the bazaar
mailing list