[MERGE] (fixes #240910) Serve all filesystem roots on Windows
Adrian Wilkins
adrian.wilkins at gmail.com
Wed Jun 18 23:51:31 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add a couple of special cases to urlutils._win32_path_(from|to)_url
This fixes the bug by allowing a LocalTransport with an empty string for
a base path to be created (only on Windows).
These now behave as you might expect on Windows.
bzr ls bzr://camelot/d:/branch # where ``bzr serve --directory=/``
bzr ls bzr+ssh://robin@camelot/d:/repo/branch
Previously you were restricted to paths relative to the root of the
drive that Python.exe is on.
e.g.
bzr ls bzr+ssh://robin@camelot/repo/branch # only works if repo is on c:
It doesn't seem that you can access UNC paths over the server (but then
you couldn't do that anyway before the bug was fixed). If that's a
problem, you always have the workaround of mapping a drive letter, or
fixing it a bit more...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIWRjucP1uebIhWSYRAgnvAJ9UWt1ygxeXUCmYQcUtyPLWI8EGCgCdFQMs
T2t9/omFSxUwpTC57xWWUjs=
=adA7
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr.serve_all_roots_win32-3504.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080618/28395b86/attachment-0001.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr.serve_all_roots_win32-3504.patch.sig
Type: application/octet-stream
Size: 65 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080618/28395b86/attachment-0001.obj
More information about the bazaar
mailing list