changeset 23625 | 3a8a85469ee8 |
parent 23614 | cd79fb4d75fd |
child 23626 | 012a7b482d68 |
--- a/hgext/share.py Mon Dec 22 03:20:50 2014 +0100 +++ b/hgext/share.py Thu Dec 18 23:16:37 2014 -0500 @@ -96,7 +96,7 @@ # strip because some tools write with newline after sharedpath = repo.vfs.read('sharedpath').strip() # the sharedpath always ends in the .hg; we want the path to the repo - source = sharedpath.rsplit('/.hg', 1)[0] + source = repo.vfs.split(sharedpath)[0] srcurl, branches = parseurl(source) srcrepo = repository(repo.ui, srcurl) except IOError, inst: