'Merge the selected revision/branch'

def merge_revision(self):

    revision = self.revision.text()
    if (not revision):
        qtutils.information(N_(u'No    Revision    Specified'), N_(u'You    must    specify    a    revision    to    merge.'))
        return
    noff = self.checkbox_noff.isChecked()
    no_commit = (not self.checkbox_commit.isChecked())
    squash = self.checkbox_squash.isChecked()
    sign = self.checkbox_sign.isChecked()
    cmds.do(cmds.Merge, revision, no_commit, squash, noff, sign)
    self.accept()
