##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2791:27d869d5 stable
Show More
__init__.py
6 lines | 279 B | text/x-python | PythonLexer
project: added all source files and assets
r1 #!/usr/bin/env python
# -*- coding: utf-8 -*-
from rhodecode.lib.dbmigrate.migrate.versioning.script.base import BaseScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.py import PythonScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.sql import SqlScript