bpollack / hg-prompt

fork of hg-prompt

Bug fixes, etc. for hg-prompt

Clone this repository (size: 85.6 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/bpollack/hg-prompt/

Changed (Δ2 bytes):

raw changeset »

prompt.py (1 lines added, 1 lines removed)

Up to file-list prompt.py:

@@ -123,7 +123,7 @@ def prompt(ui, repo, fs='', **opts):
123
123
    
124
124
    def _bookmark(m):
125
125
        try:
126
            book = extensions.find('bookmarks').current(repo)
126
            book = getattr(repo, '_bookmarkcurrent', None)
127
127
            return _with_groups(m.groups(), book) if book else ''
128
128
        except KeyError:
129
129
            return ''