D8044: packaging: include __init__.py in `defaultrc` and `helptext` on Windows

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Jan 30 06:58:07 UTC 2020


mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  I didn't notice anything going wrong, but it's probably bad to diverge from the
  source tree.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D8044

AFFECTED FILES
  contrib/packaging/hgpackaging/py2exe.py

CHANGE DETAILS

diff --git a/contrib/packaging/hgpackaging/py2exe.py b/contrib/packaging/hgpackaging/py2exe.py
--- a/contrib/packaging/hgpackaging/py2exe.py
+++ b/contrib/packaging/hgpackaging/py2exe.py
@@ -45,7 +45,9 @@
     ('doc/*.html', 'doc/'),
     ('doc/style.css', 'doc/'),
     ('mercurial/helptext/**/*.txt', 'helptext/'),
+    ('mercurial/helptext/**/__init__.py', 'helptext/'),
     ('mercurial/defaultrc/*.rc', 'defaultrc/'),
+    ('mercurial/defaultrc/__init__.py', 'defaultrc/'),
     ('mercurial/locale/**/*', 'locale/'),
     ('mercurial/templates/**/*', 'Templates/'),
     ('COPYING', 'Copying.txt'),



To: mharbison72, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list