Hugo Bastos Weber


Patch
r920292

r920292 | rhuijben | 2010-03-08 12:15:51 +0000 (Mon, 08 Mar 2010)

Resolve issue #3535, by making it possible to checkout repositories from a
Windows drive root. Based on a patch by Hugo Bastos Weber, but extended to
produce a better dirent. (The original version should work in 1.6.X,
because the code doesn't use dirents there)

* subversion/libsvn_ra_local/split_url.c
  (svn_ra_local__split_URL): Allow urls in the form 'file:///E:' to be used
    for finding a repository. Resolve this class of paths to a "E:/" like
    dirent to make sure that the code handles different current directories
    correctly.

* subversion/tests/cmdline/checkout_tests.py
  (imports): Add subprocess.
  (checkout_wc_from_drive):
    New function, based on update_wc_on_windows_drive() in update_tests.py.
  (test_list): Add checkout_wc_from_drive.

Patch by: Hugo Bastos Weber
(Tweaks and testcase by me)