def should_stage_conflicts(path):
 title = msg = N_(u'Stage conflicts?')
 info = (N_(u'%s appears to contain merge conflicts.\n\nYou should probably skip this file.\nStage it anyways?') % path)
 ok_text = N_(u'Stage conflicts')
 cancel_text = N_(u'Skip')
 return Interaction.confirm(title, msg, info, ok_text, default=False, cancel_text=cancel_text)

def should_stage_conflicts ( path ) : title = msg = N_ ( u'Stage conflicts?' ) info = ( N_ ( u'%s appears to contain merge conflicts.\n\nYou should probably skip this file.\nStage it anyways?' ) % path ) ok_text = N_ ( u'Stage conflicts' ) cancel_text = N_ ( u'Skip' ) return Interaction . confirm ( title , msg , info , ok_text , default = False , cancel_text = cancel_text )
inform the user that a file contains merge conflicts return true if we should stage the path nonetheless .