branch | stable |
changeset 15496 | 396e83d635a6 |
parent 15488 | 6eff984d8e76 |
child 15505 | ae04af1ce78d |
--- a/mercurial/util.py Wed Nov 16 00:10:52 2011 +0100 +++ b/mercurial/util.py Wed Nov 16 00:10:56 2011 +0100 @@ -1708,7 +1708,8 @@ # letters to paths with drive letters. if hasdriveletter(self._hostport): path = self._hostport + '/' + self.path - elif self.host is not None and self.path: + elif (self.host is not None and self.path + and not hasdriveletter(path)): path = '/' + path return path return self._origpath