hgext/share.py
changeset 31334 553680d1b654
parent 31212 344121b30f32
child 32337 46ba2cdda476
--- a/hgext/share.py	Wed Mar 08 16:52:16 2017 -0800
+++ b/hgext/share.py	Wed Mar 08 16:52:30 2017 -0800
@@ -113,7 +113,7 @@
 
         destlock = hg.copystore(ui, repo, repo.path)
 
-        sharefile = repo.join('sharedpath')
+        sharefile = repo.vfs.join('sharedpath')
         util.rename(sharefile, sharefile + '.old')
 
         repo.requirements.discard('shared')