This is the current file I'm using on Mac. It *seems* like we can get away with
a single config file for all platforms, so this platform agnostic location might
work. I'm not sure how to pyoxidizer init . to setup the other things when
this file exists.
Things mostly work on Mac, but there are a number of __file__ references that
need to be worked around, and the templates and default.d config needs to be
moved to a package so that they can be accessed as resources.
hg config --debug shows it looking at an extra config path near the
executable. This may be a side effect of being frozen, for py2app support. The
executable is ~33MB, so it would be nice to slim it down. Especially since
there are a lot of instances of __file__ in these unused modules that trigger
build warnings.
I'm not sure what the plans are to test this. I've been using
python3 run-tests --with-hg=/path/to/oxidizedhg
That emits a warning that --with-hg should point to an hg script, but it
seems to surface problems. The recent work has been mostly in test-help*.
There are other errors in there when doing this, like get-with-headers.py
complaining that it can't import mercurial.