[BUG?] bzr server hooks dont expose the real local url

John Arbash Meinel john at arbash-meinel.com
Mon Jun 4 15:25:22 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:

...

>> +1 (though it needs tests)
> 
> I dont think its safe to assume its always a chroot transport. So I was
> thinking of adding a transport API like the local_abspath one - a
> external_url() method, which returns the URL that should be used to talk
> about this path to external systems.
> 
> for memory: it will raise an error (its not externally visible)
> for chroot: it will return self.server.backing_transport.external_url
> for everything else, its self.base
> 
> What do you think?
> 
> -Rob

That seems reasonable.

John
=:->


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZCDRJdeBCYSNAAMRAvCcAJ9P8e3YRvq/8Kr4JdPmpWIKfJrz7ACePKeV
cfsLXNQ5amQIif+DgpDABu0=
=yB5y
-----END PGP SIGNATURE-----



More information about the bazaar mailing list