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 """ |