Project/Project.py

changeset 6558
db48660ca7c0
parent 6549
50ae5813ac40
child 6564
cd5853703e8e
equal deleted inserted replaced
6557:09d3f1d68958 6558:db48660ca7c0
4781 self.vcsProjectHelper = vcs.vcsGetProjectHelper(self) 4781 self.vcsProjectHelper = vcs.vcsGetProjectHelper(self)
4782 self.vcsBasicHelper = False 4782 self.vcsBasicHelper = False
4783 if self.vcsMenu is not None: 4783 if self.vcsMenu is not None:
4784 self.vcsProjectHelper.initMenu(self.vcsMenu) 4784 self.vcsProjectHelper.initMenu(self.vcsMenu)
4785 self.vcsMenu.setEnabled(self.vcsSoftwareAvailable()) 4785 self.vcsMenu.setEnabled(self.vcsSoftwareAvailable())
4786
4786 return vcs 4787 return vcs
4787 4788
4789 def resetVCS(self):
4790 """
4791 Public method to reset the VCS.
4792 """
4793 self.pdata["VCS"] = 'None'
4794 self.vcs = self.initVCS()
4795 e5App().getObject("PluginManager").deactivateVcsPlugins()
4796
4788 def __showContextMenuVCS(self): 4797 def __showContextMenuVCS(self):
4789 """ 4798 """
4790 Private slot called before the vcs menu is shown. 4799 Private slot called before the vcs menu is shown.
4791 """ 4800 """
4792 self.vcsProjectHelper.showMenu() 4801 self.vcsProjectHelper.showMenu()

eric ide

mercurial