hgext/share.py
changeset 42325 526750cdd02d
parent 40293 c303d65d2e34
child 43076 2372284d9457
--- a/hgext/share.py	Thu May 16 08:15:20 2019 +0900
+++ b/hgext/share.py	Wed May 15 22:09:02 2019 -0700
@@ -125,6 +125,10 @@
 
 def _hassharedbookmarks(repo):
     """Returns whether this repo has shared bookmarks"""
+    if bookmarks.bookmarksinstore(repo):
+        # Kind of a lie, but it means that we skip our custom reads and writes
+        # from/to the source repo.
+        return False
     try:
         shared = repo.vfs.read('shared').splitlines()
     except IOError as inst: