Another MSYS puzzle

Mads Kiilerich mads at kiilerich.com
Mon Jun 11 00:05:33 UTC 2012


Adrian Buehlmann wrote, On 06/11/2012 12:17 AM:
> Encountered on test-walk.t:

>    $ hg debugwalk -I 'relpath:../beans'

Msys makes it relatively easy to run 99% of the unix test suite on 
windows. The last percent might not be worth it ... especially not when 
we are fighting msys quirks.

But in this case, for starting Mercurial we could use
   >>> from mercurial.dispatch import request, dispatch
   >>> dispatch(request(['debugwalk', '-I', 'relpath:../beans']))

dispatch.run could perhaps be extended to take an optional argv as 
parameter, or run-tests could have it as some kind of 'macro', or ...

/Mads



More information about the Mercurial-devel mailing list