hgext3rd/__init__.py
author Yuya Nishihara <yuya@tcha.org>
Fri, 03 Nov 2017 20:12:50 +0900
branchstable
changeset 34962 071cbeba4212
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
subrepo: disallow symlink traversal across subrepo mount point (SEC) It wasn't easy to extend the pathauditor to check symlink traversal across subrepos because pathauditor._checkfs() rejects a directory having ".hg" directory. That's why I added the explicit islink() check. No idea if this patch is necessary after we've fixed the issue5730 by splitting submerge() into planning and execution phases.

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)