def open_repo_in_new_window():
 dirname = qtutils.opendir_dialog(N_(u'Open Git Repository...'), main.model().getcwd())
 if (not dirname):
  return
 cmds.do(cmds.OpenNewRepo, dirname)

def open_repo_in_new_window ( ) : dirname = qtutils . opendir_dialog ( N_ ( u'Open Git Repository...' ) , main . model ( ) . getcwd ( ) ) if ( not dirname ) : return cmds . do ( cmds . OpenNewRepo , dirname )
spawn a new cola session .