/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Adrian Wilkins
  • Date: 2008-06-18 12:25:26 UTC
  • Revision ID: adrian.wilkins@gmail.com-20080618122526-dq1s32hhlrqno1eq
Add a couple of special cases to urlutils._win32_path_(from|to)_url

 * 'file://' resolves to a path of ''
 * '/' resolves to a URI of 'file://'

This fixes #240910 by allowing ``bzr serve --directory=/`` to access all paths
on the Windows filesystem rather than just paths relative to the root of the 
drive Python.exe is running from. This is the value for the directory arg
used by remote SSH invocation, so the most desirable effect is to allow
you to reach any permitted path on the filesystem using SSH as with *nix.

Internally, this works by creating a LocalTransport instance with an empty string 
as a base path. This allows you to pass normal (for Windows) ssh/sftp URIs in the style :

bzr://camelot/x:/foo/bar
bzr+ssh://robin@camelot/x:/foo/bar
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 18 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 3224.1.1 17 years ago John Arbash Meinel ignore .dll for cygwin 893 bytes Diff Download File
.rsyncexclude 1185.33.36 20 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 2399.1.16 18 years ago John Arbash Meinel [merge] bzr.dev 2466 150 bytes Diff Download File
File bzr 3497.3.3 17 years ago Martin Pool Clearer message about how to set PYTHONPATH 4 KB Diff Download File
bzr.ico 1861.2.16 19 years ago Alexander Belchenko new official bzr.ico 7.2 KB Diff Download File
COPYING.txt 1861.2.9 19 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 2911.6.1 18 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 2.9 KB Diff Download File
INSTALL 2696.2.4 18 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 3440 17 years ago Canonical.com Patch Queue Manager (jam) make dist, etc clean up after themselves 8.3 KB Diff Download File
NEWS 3503.1.1 17 years ago Adrian Wilkins Add a couple of special cases to urlutils._win32_p 252 KB Diff Download File
profile_imports.py 1996.3.36 19 years ago John Arbash Meinel [merge] bzr.dev 2070 5.4 KB Diff Download File
README 3286 17 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 3185.1.10 17 years ago Martin Pool Merge trunk 12.2 KB Diff Download File
TODO 2382.2.5 18 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File