@@ -79,7 +79,7 def _tags(ui, repo): | |||
|
79 | 79 | def _branches(ui, repo): |
|
80 | 80 | # see mercurial/commands.py:branches |
|
81 | 81 | def iterbranches(): |
|
82 |
if |
|
|
82 | if getattr(repo, 'branchtags', None) is not None: | |
|
83 | 83 | # Mercurial < 2.9 |
|
84 | 84 | for t, n in repo.branchtags().iteritems(): |
|
85 | 85 | yield t, n, repo.changelog.rev(n) |
General Comments 0
You need to be logged in to leave comments.
Login now