Commits

Benjamin Pollack committed d431f1c

fix hg-prompt to work with Mercurial 1.4

Comments (0)

Files changed (1)

     
     def _bookmark(m):
         try:
-            book = extensions.find('bookmarks').current(repo)
+            book = getattr(repo, '_bookmarkcurrent', None)
             return _with_groups(m.groups(), book) if book else ''
         except KeyError:
             return ''
      otherwise nothing.  In effect, this lets you see if running `hg update` 
      would do something.
 ''')),
-)
+)