def abort_merge():
 title = N_(u'Abort Merge...')
 txt = N_(u'Aborting the current merge will cause *ALL* uncommitted changes to be lost.\nRecovering uncommitted changes is not possible.')
 info_txt = N_(u'Aborting the current merge?')
 ok_txt = N_(u'Abort Merge')
 if qtutils.confirm(title, txt, info_txt, ok_txt, default=False, icon=icons.undo()):
  gitcmds.abort_merge()

def abort_merge ( ) : title = N_ ( u'Abort Merge...' ) txt = N_ ( u'Aborting the current merge will cause *ALL* uncommitted changes to be lost.\nRecovering uncommitted changes is not possible.' ) info_txt = N_ ( u'Aborting the current merge?' ) ok_txt = N_ ( u'Abort Merge' ) if qtutils . confirm ( title , txt , info_txt , ok_txt , default = False , icon = icons . undo ( ) ) : gitcmds . abort_merge ( )
abort a merge by reading the tree at head .