hgext/share.py
changeset 23666 965788d9ae09
parent 23626 012a7b482d68
child 23883 7e71898a7cdc
--- a/hgext/share.py	Tue Dec 23 16:16:26 2014 -0800
+++ b/hgext/share.py	Sun Dec 21 00:19:10 2014 +0100
@@ -46,7 +46,7 @@
     Copy the store data to the repo and remove the sharedpath data.
     """
 
-    if repo.sharedpath == repo.path:
+    if not repo.shared():
         raise util.Abort(_("this is not a shared repo"))
 
     destlock = lock = None