author | Boris Feld <boris.feld@octobus.net> |
Wed, 17 Jan 2018 13:01:38 +0100 | |
changeset 35674 | e711906aa42c |
parent 35673 | 134ef400cb11 |
child 35675 | 01496e9269f9 |
--- a/hgext/patchbomb.py Thu May 04 02:28:19 2017 +0200 +++ b/hgext/patchbomb.py Wed Jan 17 13:01:38 2018 +0100 @@ -454,7 +454,7 @@ revs = [r for r in revs if r >= 0] if not revs: - revs = [len(repo) - 1] + revs = [repo.changelog.tiprev()] revs = repo.revs('outgoing(%s) and ::%ld', dest or '', revs) if not revs: ui.status(_("no changes found\n"))