fix relPathDirToFileAbs on windows with different drive letters

Since we started using this for git repos, when a remote was on another
drive, it resulted in a bogus relative path to it being used by git-annex,
which didn't work.
This commit is contained in:
Joey Hess 2015-04-14 14:07:55 -04:00
parent 595d9f5ab0
commit f84ccaa4e8
4 changed files with 13 additions and 1 deletions

View file

@ -158,3 +158,5 @@ ok
C:\annex1>cd \annex2
"""]]
> [[fixed|done]]; a simple path calculation bug. --[[Joey]]

View file

@ -160,3 +160,5 @@ Latest sync command should inject annex-uuid to .config file, but it does not. F
[remote "c"]
url = C:\\Annex
fetch = +refs/heads/*:refs/remotes/c/*
> [[fixed|done]]; a simple path calculation bug. --[[Joey]]