hgext/patchbomb.py
changeset 35674 e711906aa42c
parent 35466 7906354cbc68
child 36204 33ed8b511185
--- 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"))