fix hg-prompt to work with Mercurial 1.4
1 files changed, 2 insertions(+), 2 deletions(-)

M prompt.py
M prompt.py +2 -2
@@ 123,7 123,7 @@ def prompt(ui, repo, fs='', **opts):
     
     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 ''

          
@@ 541,4 541,4 @@ update
      otherwise nothing.  In effect, this lets you see if running `hg update` 
      would do something.
 ''')),
-)
  No newline at end of file
+)