##// 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 except OSError:
363 except OSError:
364 break
364 break
365 if samestat(name_st, root_st):
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 rel.reverse()
369 rel.reverse()
367 name = os.path.join(*rel)
370 name = os.path.join(*rel)
368 audit_path(name)
371 audit_path(name)
General Comments 0
You need to be logged in to leave comments. Login now