changeset 1976 | df8416346bb7 |
parent 1958 | f92cf4a8cedd |
child 1987 | 04c17fc39c84 |
child 1990 | 4b0535c678d6 |
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -185,7 +185,9 @@ def canonpath(root, cwd, myname): name = os.path.join(root, cwd, name) name = os.path.normpath(name) if name.startswith(rootsep): - return pconvert(name[len(rootsep):]) + name = name[len(rootsep):] + audit_path(name) + return pconvert(name) elif name == root: return '' else: