summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/python/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/package.py b/src/python/package.py
index f89eb412..2e6ad559 100644
--- a/src/python/package.py
+++ b/src/python/package.py
@@ -32,6 +32,9 @@ def add_python_lib(tf, lib_dir, lib, mtime):
relpath = os.path.relpath(root, lib)
+ if '.hg' in relpath.split('/'):
+ continue
+
if relpath=='.':
arcroot = lib_dir
else: