hgext/patchbomb.py
changeset 35674 e711906aa42c
parent 35470 7906354cbc68
child 36242 33ed8b511185
equal deleted inserted replaced
35673:134ef400cb11 35674:e711906aa42c
   452     url = hg.parseurl(url)[0]
   452     url = hg.parseurl(url)[0]
   453     ui.status(_('comparing with %s\n') % util.hidepassword(url))
   453     ui.status(_('comparing with %s\n') % util.hidepassword(url))
   454 
   454 
   455     revs = [r for r in revs if r >= 0]
   455     revs = [r for r in revs if r >= 0]
   456     if not revs:
   456     if not revs:
   457         revs = [len(repo) - 1]
   457         revs = [repo.changelog.tiprev()]
   458     revs = repo.revs('outgoing(%s) and ::%ld', dest or '', revs)
   458     revs = repo.revs('outgoing(%s) and ::%ld', dest or '', revs)
   459     if not revs:
   459     if not revs:
   460         ui.status(_("no changes found\n"))
   460         ui.status(_("no changes found\n"))
   461     return revs
   461     return revs
   462 
   462