Show More
@@ -543,7 +543,15 b' class DbManage(object):' | |||||
543 | retries -= 1 |
|
543 | retries -= 1 | |
544 | return self.config_prompt(test_repo_path, retries) |
|
544 | return self.config_prompt(test_repo_path, retries) | |
545 |
|
545 | |||
546 | return path |
|
546 | real_path = os.path.realpath(path) | |
|
547 | ||||
|
548 | if real_path != path: | |||
|
549 | if not ask_ok(('Path looks like a symlink, Rhodecode will store ' | |||
|
550 | 'given path as %s ? [y/n]') % (real_path)): | |||
|
551 | log.error('Canceled by user') | |||
|
552 | sys.exit(-1) | |||
|
553 | ||||
|
554 | return real_path | |||
547 |
|
555 | |||
548 | def create_settings(self, path): |
|
556 | def create_settings(self, path): | |
549 |
|
557 |
General Comments 0
You need to be logged in to leave comments.
Login now