Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 3260
37bbdfba30bc
parent 3256
1a43351889d5
child 3276
1b7002ea389d
equal deleted inserted replaced
3259:f059575254df 3260:37bbdfba30bc
371 @param projectDir project directory to create (string) 371 @param projectDir project directory to create (string)
372 @return flag indicating an execution without errors (boolean) 372 @return flag indicating an execution without errors (boolean)
373 """ 373 """
374 status = self.vcsCheckout(vcsDataDict, projectDir) 374 status = self.vcsCheckout(vcsDataDict, projectDir)
375 shutil.rmtree(os.path.join(projectDir, self.adminDir), True) 375 shutil.rmtree(os.path.join(projectDir, self.adminDir), True)
376 if os.path.exists(os.path.join(projectDir, '.hgignore')): 376 if os.path.exists(os.path.join(projectDir, Hg.IgnoreFileName)):
377 os.remove(os.path.join(projectDir, '.hgignore')) 377 os.remove(os.path.join(projectDir, Hg.IgnoreFileName))
378 return status 378 return status
379 379
380 def vcsCommit(self, name, message, noDialog=False, closeBranch=False, 380 def vcsCommit(self, name, message, noDialog=False, closeBranch=False,
381 mq=False): 381 mq=False):
382 """ 382 """

eric ide

mercurial