--- a/contrib/packaging/hgpackaging/py2exe.py Fri Jan 24 01:11:19 2020 -0500
+++ b/contrib/packaging/hgpackaging/py2exe.py Fri Jan 24 01:37:18 2020 -0500
@@ -45,7 +45,7 @@
('doc/*.html', 'doc/'),
('doc/style.css', 'doc/'),
('mercurial/helptext/**/*.txt', 'helptext/'),
- ('mercurial/defaultrc/*.rc', 'hgrc.d/'),
+ ('mercurial/defaultrc/*.rc', 'defaultrc/'),
('mercurial/locale/**/*', 'locale/'),
('mercurial/templates/**/*', 'Templates/'),
('COPYING', 'Copying.txt'),
@@ -232,7 +232,7 @@
# Write out a default editor.rc file to configure notepad as the
# default editor.
- with (staging_dir / 'hgrc.d' / 'editor.rc').open(
+ with (staging_dir / 'defaultrc' / 'editor.rc').open(
'w', encoding='utf-8'
) as fh:
fh.write('[ui]\neditor = notepad\n')