diff -r 72040d98ff0a -r 595dba23d337 mercurial/commands.py --- a/mercurial/commands.py Mon Mar 14 15:19:58 2011 +0100 +++ b/mercurial/commands.py Mon Mar 14 13:11:26 2011 -0500 @@ -1618,7 +1618,7 @@ msg = _('cannot specify --rev and --change at the same time') raise util.Abort(msg) elif change: - node2 = repo.lookup(change) + node2 = cmdutil.revsingle(repo, change, None).node() node1 = repo[node2].parents()[0].node() else: node1, node2 = cmdutil.revpair(repo, revs)