changeset 4086 | cc8a52229620 |
parent 4067 | c620376b8fd6 |
child 4087 | 587c6c652f82 |
--- a/mercurial/util.py Tue Feb 13 10:02:07 2007 -0200 +++ b/mercurial/util.py Thu Feb 15 05:18:23 2007 -0200 @@ -363,6 +363,9 @@ except OSError: break if samestat(name_st, root_st): + if not rel: + # name was actually the same as root (maybe a symlink) + return '' rel.reverse() name = os.path.join(*rel) audit_path(name)