(self, before, after)
before  list of all filenames before enter rename mode
        after   list of all filenames upon commit rename

        Warn about conflicts and print original (before) and conflicting (after) names for
        each item which cause conflict.
before  list of all filenames before enter rename mode
        after   list of all filenames upon commit rename
before list of all filenames before enter rename mode after list of all filenames upon commit rename
def report_conflicts(self, before, after):
        '''
        before  list of all filenames before enter rename mode
        after   list of all filenames upon commit rename

        Warn about conflicts and print original (before) and conflicting (after) names for
        each item which cause conflict.
        '''
        sublime.error_message('There are duplicate filenames (see details in console)')
        self.view.window().run_command("show_panel", {"panel": "console"})
        print(*(u'\n   Original name: {0}\nConflicting name: {1}'.format(b, a)
                for (b, a) in zip(before, after) if b != a and a in before),
              sep='\n', end='\n\n')
        print('You can either resolve conflicts and apply changes or cancel renaming.\n')
def report_conflicts ( self , before , after ) : sublime . error_message ( 'There are duplicate filenames (see details in console)' ) self . view . window ( ) . run_command ( "show_panel" , { "panel" : "console" } ) print ( * ( u'\n   Original name: {0}\nConflicting name: {1}' . format ( b , a ) for ( b , a ) in zip ( before , after ) if b != a and a in before ) , sep = '\n' , end = '\n\n' ) print ( 'You can either resolve conflicts and apply changes or cancel renaming.\n' )