Skip to content
Snippets Groups Projects
user avatar
Bryan O'Sullivan authored
The following properties of a path are now checked for:

    - under top-level .hg
    - starts at the root of a windows drive
    - contains ".."
    - traverses a symlink (e.g. a/symlink_here/b)
    - inside a nested repository

If any of these is true, the path is rejected.

The check for traversing a symlink is arguably stricter than necessary;
perhaps we should be checking for symlinks that point outside the
repository.
d316124e
History
Name Last commit Last update
contrib
doc
hgext
mercurial
templates
tests
.hgignore
.hgsigs
.hgtags
CONTRIBUTORS
COPYING
Makefile
README
hg
hgeditor
hgmerge
hgweb.cgi
hgwebdir.cgi
setup.py