changeset 24429 | 69bd0ec2f9be |
parent 24421 | 77881cade20e |
child 24432 | e22248f6d257 |
--- a/mercurial/commands.py Mon Mar 23 17:07:25 2015 -0700 +++ b/mercurial/commands.py Mon Mar 23 18:21:01 2015 -0700 @@ -5152,6 +5152,9 @@ if revs: revs = [repo.lookup(r) for r in scmutil.revrange(repo, revs)] + if not revs: + raise util.Abort(_("specified revisions evaluate to an empty set"), + hint=_("use different revision arguments")) repo._subtoppath = dest try: