def review_branch():
 branch = choose_ref(N_(u'Select Branch to Review'), N_(u'Review'))
 if (not branch):
  return
 merge_base = gitcmds.merge_base_parent(branch)
 difftool.diff_commits(qtutils.active_window(), merge_base, branch)

def review_branch ( ) : branch = choose_ref ( N_ ( u'Select Branch to Review' ) , N_ ( u'Review' ) ) if ( not branch ) : return merge_base = gitcmds . merge_base_parent ( branch ) difftool . diff_commits ( qtutils . active_window ( ) , merge_base , branch )
diff against an arbitrary revision .