Commit f66aaee4 authored by Michal Čihař's avatar Michal Čihař

Do not try to rename linked repos

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent df16009f
......@@ -177,6 +177,10 @@ class PathMixin(LoggerMixin):
"""
Detects slug changes and possibly renames underlaying directory.
"""
# No moving for links
if getattr(self, 'is_repo_link', False):
return
old_path = old.get_path()
# Invalidate path cache (otherwise we would still get old path)
self._dir_path = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment