#NEWLINE# def show_branches_panel( self , repo , on_selection , * args , **kwargs ) : #NEWLINE# #INDENT# ( branches , choices ) = self . get_branch_choices ( repo , * args , ** kwargs ) #NEWLINE# def on_done( idx ) : #NEWLINE# #INDENT# if ( idx != ( - 1 ) ) : #NEWLINE# #INDENT# branch = branches [ idx ] #NEWLINE# on_selection ( branch ) #NEWLINE# #UNINDENT# #UNINDENT# self . window . show_quick_panel ( kwargs , on_done , sublime . MONOSPACE_FONT )