Properly determine expected self.root for fileshare repos

This commit is contained in:
Greg Neagle
2017-03-14 10:49:07 -07:00
parent 70f2800170
commit 16e3dc0220
+1 -1
View File
@@ -124,7 +124,7 @@ class FileRepo(Repo):
self.root = url_parts.path
else:
# repo is on a fileshare that will be mounted under /Volumes
self.root = os.path.join('/Volumes', url_parts.path)
self.root = os.path.join('/Volumes', url_parts.path.lstrip('/'))
self.we_mounted_repo = False
self._connect()