Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 1405
60155fdf1a98
parent 1393
49559447c5ad
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1404:eaf3a24163f2 1405:60155fdf1a98
2593 """ 2593 """
2594 self.__projectHelper = self.__plugin.getProjectHelper() 2594 self.__projectHelper = self.__plugin.getProjectHelper()
2595 self.__projectHelper.setObjects(self, project) 2595 self.__projectHelper.setObjects(self, project)
2596 self.__monitorRepoIniFile(project.getProjectPath()) 2596 self.__monitorRepoIniFile(project.getProjectPath())
2597 2597
2598 if not Utilities.isMacPlatform and self.version >= (1, 9): 2598 if not Utilities.isMacPlatform() and self.version >= (1, 9):
2599 # find the root of the repo 2599 # find the root of the repo
2600 repodir = project.getProjectPath() 2600 repodir = project.getProjectPath()
2601 while not os.path.isdir(os.path.join(repodir, self.adminDir)): 2601 while not os.path.isdir(os.path.join(repodir, self.adminDir)):
2602 repodir = os.path.dirname(repodir) 2602 repodir = os.path.dirname(repodir)
2603 if not repodir or os.path.splitdrive(repodir)[1] == os.sep: 2603 if not repodir or os.path.splitdrive(repodir)[1] == os.sep:

eric ide

mercurial