rebase: remove unnecessary confirm block
authorSushil khanchi <sushilkhanchi97@gmail.com>
Sat, 14 Jul 2018 23:00:22 +0530
changeset 38680 70448ec995c2
parent 38679 b3d0c97a0820
child 38681 8eeed92475d5
rebase: remove unnecessary confirm block Removed unnecessary 'if confirm:' block as that thing is now handled at 'finally'. Differential Revision: https://phab.mercurial-scm.org/D3945
hgext/rebase.py
--- a/hgext/rebase.py	Sat Jul 14 08:59:42 2018 +0530
+++ b/hgext/rebase.py	Sat Jul 14 23:00:22 2018 +0530
@@ -867,11 +867,6 @@
                             leaveunfinished=True)
         except error.InMemoryMergeConflictsError:
             ui.status(_('hit a merge conflict\n'))
-            if confirm:
-                # abort as in-memory merge doesn't support conflict
-                rbsrt._prepareabortorcontinue(isabort=True, backup=False,
-                                              suppwarns=True)
-                needsabort = False
             return 1
         else:
             if confirm: