mercurial/hg.py
changeset 26654 30657909b2ba
parent 26587 56b2bcea2529
child 26781 1aee2ab0f902
--- 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)