Mercurial > hg
diff hgext/patchbomb.py @ 17177:ef507130fc92
patchbomb: support --outgoing and revsets
With --outgoing, input revisions were passed to getoutgoing() before
being resolved.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sun, 24 Jun 2012 17:39:27 +0200 |
parents | 2ab165cf3d8a |
children | 8308f6284640 |
line wrap: on
line diff
--- a/hgext/patchbomb.py Sat Jul 14 19:21:31 2012 +0200 +++ b/hgext/patchbomb.py Sun Jun 24 17:39:27 2012 +0200 @@ -277,7 +277,7 @@ dest, branches = hg.parseurl(dest) revs, checkout = hg.addbranchrevs(repo, repo, branches, revs) if revs: - revs = [repo.lookup(rev) for rev in revs] + revs = [repo.lookup(r) for r in scmutil.revrange(repo, revs)] other = hg.peer(repo, opts, dest) ui.status(_('comparing with %s\n') % util.hidepassword(dest)) repo.ui.pushbuffer()