def cherry_pick():
 (revs, summaries) = gitcmds.log_helper(all=True)
 commits = select_commits(N_(u'Cherry-Pick Commit'), revs, summaries, multiselect=False)
 if (not commits):
  return
 cmds.do(cmds.CherryPick, commits)

def cherry_pick ( ) : ( revs , summaries ) = gitcmds . log_helper ( all = True ) commits = select_commits ( N_ ( u'Cherry-Pick Commit' ) , revs , summaries , multiselect = False ) if ( not commits ) : return cmds . do ( cmds . CherryPick , commits )
launch the cherry-pick dialog .