Mercurial > hg
changeset 17168:e058f4eec69c
push: accept revset argument for --rev
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Thu, 05 Jul 2012 19:53:04 +0200 |
parents | 5f131ae05905 |
children | c18ecebed3f1 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Jul 06 19:48:19 2012 +0200 +++ b/mercurial/commands.py Thu Jul 05 19:53:04 2012 +0200 @@ -4620,7 +4620,7 @@ revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev')) other = hg.peer(repo, opts, dest) if revs: - revs = [repo.lookup(rev) for rev in revs] + revs = [repo.lookup(r) for r in scmutil.revrange(repo, revs)] repo._subtoppath = dest try: