hgext/rebase.py
changeset 44270 f546d2170b0f
parent 44239 830eae18b2f3
child 44341 77bb38be00ea
--- a/hgext/rebase.py	Wed Feb 05 16:16:15 2020 -0500
+++ b/hgext/rebase.py	Wed Jan 15 15:30:25 2020 -0800
@@ -800,9 +800,7 @@
 
                 # Update away from the rebase if necessary
                 if shouldupdate:
-                    mergemod.update(
-                        repo, self.originalwd, branchmerge=False, force=True
-                    )
+                    mergemod.clean_update(repo[self.originalwd])
 
                 # Strip from the first rebased revision
                 if rebased:
@@ -1477,7 +1475,7 @@
     else:
         if repo[b'.'].rev() != p1:
             repo.ui.debug(b" update to %d:%s\n" % (p1, p1ctx))
-            mergemod.update(repo, p1, branchmerge=False, force=True)
+            mergemod.clean_update(p1ctx)
         else:
             repo.ui.debug(b" already in destination\n")
         # This is, alas, necessary to invalidate workingctx's manifest cache,