Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

changeset 992
566e87428fc8
parent 963
b672d2191a04
child 1005
6986db425aa2
equal deleted inserted replaced
991:5ec5e707dfa5 992:566e87428fc8
427 """in the repository.</p>""" 427 """in the repository.</p>"""
428 )) 428 ))
429 self.hgBranchAct.triggered[()].connect(self.__hgBranch) 429 self.hgBranchAct.triggered[()].connect(self.__hgBranch)
430 self.actions.append(self.hgBranchAct) 430 self.actions.append(self.hgBranchAct)
431 431
432 self.hgPushBranchAct = E5Action(self.trUtf8('Push new branch'), 432 self.hgPushBranchAct = E5Action(self.trUtf8('Push new branch'),
433 self.trUtf8('Push new branch'), 433 self.trUtf8('Push new branch'),
434 0, 0, self, 'mercurial_push_branch') 434 0, 0, self, 'mercurial_push_branch')
435 self.hgPushBranchAct.setStatusTip(self.trUtf8( 435 self.hgPushBranchAct.setStatusTip(self.trUtf8(
436 'Push the current branch of the local project as a new named branch' 436 'Push the current branch of the local project as a new named branch'
437 )) 437 ))
986 986
987 def __hgPushNewBranch(self): 987 def __hgPushNewBranch(self):
988 """ 988 """
989 Private slot to push a new named branch. 989 Private slot to push a new named branch.
990 """ 990 """
991 self.vcs.hgPush(self.project.ppath, newBranch = True) 991 self.vcs.hgPush(self.project.ppath, newBranch=True)
992 992
993 def __hgEditRepoConfig(self): 993 def __hgEditRepoConfig(self):
994 """ 994 """
995 Private slot used to edit the repository config file. 995 Private slot used to edit the repository config file.
996 """ 996 """

eric ide

mercurial