Plugins/VcsPlugins/vcsPySvn/subversion.py

changeset 6360
73033fa6a99c
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
equal deleted inserted replaced
6359:e78be0616e6e 6360:73033fa6a99c
282 os.mkdir(os.path.join(tmpDir, project, 'tags')) 282 os.mkdir(os.path.join(tmpDir, project, 'tags'))
283 shutil.copytree( 283 shutil.copytree(
284 projectDir, os.path.join(tmpDir, project, 'trunk')) 284 projectDir, os.path.join(tmpDir, project, 'trunk'))
285 else: 285 else:
286 shutil.copytree(projectDir, os.path.join(tmpDir, project)) 286 shutil.copytree(projectDir, os.path.join(tmpDir, project))
287 except OSError as e: 287 except OSError:
288 if os.path.isdir(tmpDir): 288 if os.path.isdir(tmpDir):
289 shutil.rmtree(tmpDir, True) 289 shutil.rmtree(tmpDir, True)
290 return False, False 290 return False, False
291 291
292 locker = QMutexLocker(self.vcsExecutionMutex) 292 locker = QMutexLocker(self.vcsExecutionMutex)

eric ide

mercurial