Hackable Mercurial: linker_exe and no-cygwin
Eduard-Cristian Stefan
alexandrul.ct at gmail.com
Thu Jun 7 11:10:53 UTC 2012
On Thu, Jun 7, 2012 at 1:11 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> What matters is _not_ having a 'hg' but having a 'hg.exe'. Msys bash will
> pick 'hg' up if it exists and use the hash-bang with whatever python it can
> find. Again: That might be a good way of running the test suite, but then it
> is no longer the 'hackable' approach that Matt introduced.
If I'm reading run-tests.py right, using the '--local' option will set
the hg script
to 'tests/../hg' (not hg.exe)
Also, in the msys shell (used only for hg) I have the local copy of python
placed first in PATH.
The resulting command lines looks like:
d:\hg\hg-python\python.exe d:/hg/hg ...
Have a nice day,
Eduard
More information about the Mercurial-devel
mailing list