[PATCH STABLE] ignore python folder included within hackable hg packages

Steve Borho steve at borho.org
Tue Sep 9 13:44:29 CDT 2014


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1410288246 -7200
#      Tue Sep 09 20:44:06 2014 +0200
# Branch stable
# Node ID 9287bf0cdcc890e63f9a596f9e335a9b72a9532c
# Parent  71227dc24311b6d83904c50bacf7b339b1454bec
ignore python folder included within hackable hg packages

the exewrapper.c that builds hg.exe for the hackable hg packages allows two
names for the Python install folder, hg-python or python2N where N matches the
minor version of Python you compiled against.

the hg-python/ path is only checked when PYTHONHOME is found in the environment,
for reasons that are just beyond my comprehension. So it is easier for me to
just use python27/ for my hackable-hg packages but this path is not yet ignored.

diff -r 71227dc24311 -r 9287bf0cdcc8 .hgignore
--- a/.hgignore	Tue Sep 02 03:41:01 2014 +0200
+++ b/.hgignore	Tue Sep 09 20:44:06 2014 +0200
@@ -59,5 +59,6 @@
 ^\.(pydev)?project
 
 # hackable windows distribution additions
+^python2?
 ^hg-python
 ^hg.py$


More information about the Mercurial-devel mailing list