diff -r e99facd2cd2a -r 396e83d635a6 mercurial/util.py --- 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