##// END OF EJS Templates
use normpath when comparing paths used to determine if directory is a symlink, it's a part of pull-request #77
marcink -
r2918:ce8572f4 beta
parent child Browse files
Show More
@@ -543,9 +543,9 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 real_path = os.path.realpath(path)
546 real_path = os.path.normpath(os.path.realpath(path))
547
547
548 if real_path != path:
548 if real_path != os.path.normpath(path):
549 if not ask_ok(('Path looks like a symlink, Rhodecode will store '
549 if not ask_ok(('Path looks like a symlink, Rhodecode will store '
550 'given path as %s ? [y/n]') % (real_path)):
550 'given path as %s ? [y/n]') % (real_path)):
551 log.error('Canceled by user')
551 log.error('Canceled by user')
General Comments 0
You need to be logged in to leave comments. Login now