Show More
@@ -0,0 +1,8 b'' | |||||
|
1 | #!/bin/sh | |||
|
2 | ||||
|
3 | hg init a | |||
|
4 | ln -s a link | |||
|
5 | cd a | |||
|
6 | echo foo > foo | |||
|
7 | hg status | |||
|
8 | hg status ../link |
@@ -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