##// END OF EJS Templates
Fix accessing the repo through a symlink.
Jun Inoue -
r4086:cc8a5222 default
parent child Browse files
Show More
@@ -363,6 +363,9 b' def canonpath(root, cwd, myname):'
363 363 except OSError:
364 364 break
365 365 if samestat(name_st, root_st):
366 if not rel:
367 # name was actually the same as root (maybe a symlink)
368 return ''
366 369 rel.reverse()
367 370 name = os.path.join(*rel)
368 371 audit_path(name)
General Comments 0
You need to be logged in to leave comments. Login now