Commits

Alexander Solovyov  committed e9429a9

finally fix bookmarks import

  • Participants
  • Parent commits b6b723a

Comments (0)

Files changed (1)

File remote-bookmarks.py

 def get_bookmarks():
     try:
         from mercurial import bookmarks
-        bookmarks.cmdtable # try to access it
+        bookmarks.read # access module - work around demandimport
         return bookmarks
-    except ImportError: # cannot access cmdtable
+    except ImportError:
         # hg < 1.8
         return extensions.find('bookmarks')