# HG changeset patch # User Marcin Kuzminski # Date 1350908760 -7200 # Node ID d37b79ad0ae847f9ab90d1da261e9077938d81c7 # Parent bd97aba292f140956a820b9c76531b6ea04a1fda Fixed issue with rm__ system that put removed repos in root location, it can lead to making a heavy copy, and remove operation. diff -r bd97aba292f1 -r d37b79ad0ae8 rhodecode/model/repo.py --- a/rhodecode/model/repo.py Mon Oct 15 22:00:01 2012 +0300 +++ b/rhodecode/model/repo.py Mon Oct 22 14:26:00 2012 +0200 @@ -544,5 +544,8 @@ _now = datetime.now() _ms = str(_now.microsecond).rjust(6, '0') _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms), - repo.repo_name) + repo.just_name) + if repo.group: + args = repo.group.full_path_splitted + [_d] + _d = os.path.join(*args) shutil.move(rm_path, os.path.join(self.repos_path, _d))