mercurial/cmdutil.py
changeset 40366 b14fdf1fb615
parent 40346 943248e47864
child 40367 824b687ff6af
--- a/mercurial/cmdutil.py	Thu Oct 18 10:11:08 2018 -0700
+++ b/mercurial/cmdutil.py	Thu Feb 09 09:17:40 2017 -0800
@@ -365,8 +365,8 @@
             if backups:
                 # Equivalent to hg.revert
                 m = scmutil.matchfiles(repo, backups.keys())
-                mergemod.update(repo, repo.dirstate.p1(),
-                        False, True, matcher=m)
+                mergemod.update(repo, repo.dirstate.p1(), branchmerge=False,
+                                force=True, matcher=m)
 
             # 3b. (apply)
             if dopatch: