##// END OF EJS Templates
Fixed issue with rm__ system that put removed repos in root location, it can lead to making a heavy copy, and remove operation.
marcink -
r2949:d37b79ad beta
parent child Browse files
Show More
@@ -544,5 +544,8 b' class RepoModel(BaseModel):'
544 544 _now = datetime.now()
545 545 _ms = str(_now.microsecond).rjust(6, '0')
546 546 _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms),
547 repo.repo_name)
547 repo.just_name)
548 if repo.group:
549 args = repo.group.full_path_splitted + [_d]
550 _d = os.path.join(*args)
548 551 shutil.move(rm_path, os.path.join(self.repos_path, _d))
General Comments 0
You need to be logged in to leave comments. Login now