src/eric7/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

branch
eric7
changeset 9573
9960d19d66b5
parent 9482
a2bc06a54d9d
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9572:3b46c662a004 9573:9960d19d66b5
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(
450 """<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 ) 451 )
452 ) 452 )
453 self.hgTipAct.triggered.connect(self.__hgTip) 453 self.hgTipAct.triggered.connect(self.__hgTip)
454 self.actions.append(self.hgTipAct) 454 self.actions.append(self.hgTipAct)
455 455
648 "mercurial_list_tags", 648 "mercurial_list_tags",
649 ) 649 )
650 self.hgTagListAct.setStatusTip(self.tr("List tags of the project")) 650 self.hgTagListAct.setStatusTip(self.tr("List tags of the project"))
651 self.hgTagListAct.setWhatsThis( 651 self.hgTagListAct.setWhatsThis(
652 self.tr( 652 self.tr(
653 """<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 ) 654 )
655 ) 655 )
656 self.hgTagListAct.triggered.connect(self.__hgTagList) 656 self.hgTagListAct.triggered.connect(self.__hgTagList)
657 self.actions.append(self.hgTagListAct) 657 self.actions.append(self.hgTagListAct)
658 658
1101 self.hgBisectSkipAct = EricAction( 1101 self.hgBisectSkipAct = EricAction(
1102 self.tr("Skip"), self.tr("Skip..."), 0, 0, self, "mercurial_bisect_skip" 1102 self.tr("Skip"), self.tr("Skip..."), 0, 0, self, "mercurial_bisect_skip"
1103 ) 1103 )
1104 self.hgBisectSkipAct.setStatusTip(self.tr("Skip a selectable changeset")) 1104 self.hgBisectSkipAct.setStatusTip(self.tr("Skip a selectable changeset"))
1105 self.hgBisectSkipAct.setWhatsThis( 1105 self.hgBisectSkipAct.setWhatsThis(
1106 self.tr("""<b>Skip</b>""" """<p>This skips a selectable changeset.</p>""") 1106 self.tr("""<b>Skip</b><p>This skips a selectable changeset.</p>""")
1107 ) 1107 )
1108 self.hgBisectSkipAct.triggered.connect(self.__hgBisectSkip) 1108 self.hgBisectSkipAct.triggered.connect(self.__hgBisectSkip)
1109 self.actions.append(self.hgBisectSkipAct) 1109 self.actions.append(self.hgBisectSkipAct)
1110 1110
1111 self.hgBisectResetAct = EricAction( 1111 self.hgBisectResetAct = EricAction(
1112 self.tr("Reset"), self.tr("Reset"), 0, 0, self, "mercurial_bisect_reset" 1112 self.tr("Reset"), self.tr("Reset"), 0, 0, self, "mercurial_bisect_reset"
1113 ) 1113 )
1114 self.hgBisectResetAct.setStatusTip(self.tr("Reset the bisect search data")) 1114 self.hgBisectResetAct.setStatusTip(self.tr("Reset the bisect search data"))
1115 self.hgBisectResetAct.setWhatsThis( 1115 self.hgBisectResetAct.setWhatsThis(
1116 self.tr("""<b>Reset</b>""" """<p>This resets the bisect search data.</p>""") 1116 self.tr("""<b>Reset</b><p>This resets the bisect search data.</p>""")
1117 ) 1117 )
1118 self.hgBisectResetAct.triggered.connect(self.__hgBisectReset) 1118 self.hgBisectResetAct.triggered.connect(self.__hgBisectReset)
1119 self.actions.append(self.hgBisectResetAct) 1119 self.actions.append(self.hgBisectResetAct)
1120 1120
1121 self.hgBackoutAct = EricAction( 1121 self.hgBackoutAct = EricAction(
1337 "mercurial_add_subrepo", 1337 "mercurial_add_subrepo",
1338 ) 1338 )
1339 self.hgAddSubrepoAct.setStatusTip(self.tr("Add a sub-repository")) 1339 self.hgAddSubrepoAct.setStatusTip(self.tr("Add a sub-repository"))
1340 self.hgAddSubrepoAct.setWhatsThis( 1340 self.hgAddSubrepoAct.setWhatsThis(
1341 self.tr( 1341 self.tr(
1342 """<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 ) 1343 )
1344 ) 1344 )
1345 self.hgAddSubrepoAct.triggered.connect(self.__hgAddSubrepository) 1345 self.hgAddSubrepoAct.triggered.connect(self.__hgAddSubrepository)
1346 self.actions.append(self.hgAddSubrepoAct) 1346 self.actions.append(self.hgAddSubrepoAct)
1347 1347

eric ide

mercurial