diff -r cffc4f7c6c36 -r 30657909b2ba mercurial/hg.py --- a/mercurial/hg.py Wed Sep 30 21:48:53 2015 -0700 +++ b/mercurial/hg.py Mon Oct 12 03:37:09 2015 -0500 @@ -766,10 +766,6 @@ recurse() return 0 # exit code is zero since we found outgoing changes -def revert(repo, node, choose): - """revert changes to revision in node without updating dirstate""" - return mergemod.update(repo, node, False, True, choose)[3] > 0 - def verify(repo): """verify the consistency of a repository""" ret = verifymod.verify(repo)