444 self.hgTipAct = EricAction( |
444 self.hgTipAct = EricAction( |
445 self.tr("Show tip"), self.tr("Show tip"), 0, 0, self, "mercurial_tip" |
445 self.tr("Show tip"), self.tr("Show tip"), 0, 0, self, "mercurial_tip" |
446 ) |
446 ) |
447 self.hgTipAct.setStatusTip(self.tr("Show the tip of the repository")) |
447 self.hgTipAct.setStatusTip(self.tr("Show the tip of the repository")) |
448 self.hgTipAct.setWhatsThis( |
448 self.hgTipAct.setWhatsThis( |
449 self.tr( |
449 self.tr("""<b>Show tip</b><p>This shows the tip of the repository.</p>""") |
450 """<b>Show tip</b><p>This shows the tip of the repository.</p>""" |
|
451 ) |
|
452 ) |
450 ) |
453 self.hgTipAct.triggered.connect(self.__hgTip) |
451 self.hgTipAct.triggered.connect(self.__hgTip) |
454 self.actions.append(self.hgTipAct) |
452 self.actions.append(self.hgTipAct) |
455 |
453 |
456 self.vcsRevertAct = EricAction( |
454 self.vcsRevertAct = EricAction( |
647 self, |
645 self, |
648 "mercurial_list_tags", |
646 "mercurial_list_tags", |
649 ) |
647 ) |
650 self.hgTagListAct.setStatusTip(self.tr("List tags of the project")) |
648 self.hgTagListAct.setStatusTip(self.tr("List tags of the project")) |
651 self.hgTagListAct.setWhatsThis( |
649 self.hgTagListAct.setWhatsThis( |
652 self.tr( |
650 self.tr("""<b>List tags</b><p>This lists the tags of the project.</p>""") |
653 """<b>List tags</b><p>This lists the tags of the project.</p>""" |
|
654 ) |
|
655 ) |
651 ) |
656 self.hgTagListAct.triggered.connect(self.__hgTagList) |
652 self.hgTagListAct.triggered.connect(self.__hgTagList) |
657 self.actions.append(self.hgTagListAct) |
653 self.actions.append(self.hgTagListAct) |
658 |
654 |
659 self.hgBranchListAct = EricAction( |
655 self.hgBranchListAct = EricAction( |
705 self, |
701 self, |
706 "mercurial_push_branch", |
702 "mercurial_push_branch", |
707 ) |
703 ) |
708 self.hgPushBranchAct.setStatusTip( |
704 self.hgPushBranchAct.setStatusTip( |
709 self.tr( |
705 self.tr( |
710 "Push the current branch of the local project as a new named" " branch" |
706 "Push the current branch of the local project as a new named branch" |
711 ) |
707 ) |
712 ) |
708 ) |
713 self.hgPushBranchAct.setWhatsThis( |
709 self.hgPushBranchAct.setWhatsThis( |
714 self.tr( |
710 self.tr( |
715 """<b>Push new branch</b>""" |
711 """<b>Push new branch</b>""" |
1336 self, |
1332 self, |
1337 "mercurial_add_subrepo", |
1333 "mercurial_add_subrepo", |
1338 ) |
1334 ) |
1339 self.hgAddSubrepoAct.setStatusTip(self.tr("Add a sub-repository")) |
1335 self.hgAddSubrepoAct.setStatusTip(self.tr("Add a sub-repository")) |
1340 self.hgAddSubrepoAct.setWhatsThis( |
1336 self.hgAddSubrepoAct.setWhatsThis( |
1341 self.tr( |
1337 self.tr("""<b>Add...</b><p>Add a sub-repository to the project.</p>""") |
1342 """<b>Add...</b><p>Add a sub-repository to the project.</p>""" |
|
1343 ) |
|
1344 ) |
1338 ) |
1345 self.hgAddSubrepoAct.triggered.connect(self.__hgAddSubrepository) |
1339 self.hgAddSubrepoAct.triggered.connect(self.__hgAddSubrepository) |
1346 self.actions.append(self.hgAddSubrepoAct) |
1340 self.actions.append(self.hgAddSubrepoAct) |
1347 |
1341 |
1348 self.hgRemoveSubreposAct = EricAction( |
1342 self.hgRemoveSubreposAct = EricAction( |