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/
| commit 99: | d431f1cb0dc8 |
| parent 98: | 0b2242d65b92 |
| branch: | default |
| tags: | tip |
fix hg-prompt to work with Mercurial 1.4
Changed (Δ2 bytes):
raw changeset »
prompt.py (1 lines added, 1 lines removed)
| … | … | @@ -123,7 +123,7 @@ def prompt(ui, repo, fs='', **opts): |
123 |
123 |
|
124 |
124 |
def _bookmark(m): |
125 |
125 |
try: |
126 |
book = |
|
126 |
book = getattr(repo, '_bookmarkcurrent', None) |
|
127 |
127 |
return _with_groups(m.groups(), book) if book else '' |
128 |
128 |
except KeyError: |
129 |
129 |
return '' |
