Merge lp:~jspashett/bzr/322807_add_root_drive_windows into lp:bzr
Proposed by
Jason Spashett
Status: | Rejected |
---|---|
Rejected by: | John A Meinel |
Proposed branch: | lp:~jspashett/bzr/322807_add_root_drive_windows |
Merge into: | lp:bzr |
Diff against target: |
12 lines 1 file modified
bzrlib/osutils.py (+1/-1) |
To merge this branch: | bzr merge lp:~jspashett/bzr/322807_add_root_drive_windows |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Needs Fixing | ||
Review via email: mp+12842@code.launchpad.net |
To post a comment you must log in.
In _cicp_canonical _relpath (osutils.py)
This is done: len(abs_ base)+1: ]
return current[
Which does not work on windows, where abs_base = x:/ in this case a '/' is not appended since it already ends with one, making len(abs_base)+1 incorrect in this case.
Change to use os.path.split instead.