mercurial/hg.py
changeset 44317 f546d2170b0f
parent 44253 bd4f666b55a7
child 44324 3245cdea2c63
--- a/mercurial/hg.py	Wed Feb 05 16:16:15 2020 -0500
+++ b/mercurial/hg.py	Wed Jan 15 15:30:25 2020 -0800
@@ -1173,7 +1173,7 @@
         node = repo[b'.'].hex()
 
     repo.ui.status(_(b"aborting the merge, updating back to %s\n") % node[:12])
-    stats = mergemod.update(repo, node, branchmerge=False, force=True)
+    stats = mergemod.clean_update(repo[node])
     assert stats.unresolvedcount == 0
     _showstats(repo, stats)