mercurial/hg.py
changeset 2811 1ea086bc2086
parent 2810 ca06d35af65e
child 2812 3aeab7bb5adc
--- a/mercurial/hg.py	Mon Aug 07 23:53:04 2006 -0500
+++ b/mercurial/hg.py	Tue Aug 08 09:11:16 2006 -0500
@@ -222,8 +222,8 @@
 
 def revert(repo, node, choose):
     """revert changes to revision in node without updating dirstate"""
-    return _merge.update(repo, node, force=True, choose=choose,
-                        moddirstate=False, show_stats=False)
+    return _merge.update(repo, node, force=True, partial=choose,
+                         show_stats=False)
 
 def verify(repo):
     """verify the consistency of a repository"""