changeset 17168 | e058f4eec69c |
parent 17149 | 4b33422e2572 |
child 17181 | 6f71167292f2 |
--- 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: