[ANN] pysh 0.2

Patrick Mézard pmezard at gmail.com
Wed Feb 21 22:05:06 UTC 2007


Hello,

Quick Overview
--------------
pysh implements a subset of sh in python, good enough to run mercurial 
tests under win32. This version still requires Cygwin setup in binary-LF 
mode for utility support, sysinternal PsKill utility, and targets python 
2.4 for subprocess availability (I wrote and tested it with python 2.5 
so I do not guarantee anything there but be happy to correct any issue 
with it).

(Please look at README in pysh bundle for more details about setup and 
implementation)


Changes
-------
* The coverage was improved by supporting "hg serve" in daemon mode, see 
  <http://www.selenic.com/mercurial/bts/issue421> for details.
* Support shebang mechanism, implemented for /usr/bin/env and /bin/sh.
* Add shift, env, kill (requires pskill), sort.
* Fix quote within quotes escaping.
- Still no way to run tests under Unix, might come with the next release.


Mercurial Tests Summary
-----------------------
     # Ran 140 tests, 0 skipped, 42 failed.

* Failures comes from:
     - [~8] Asynchronous lists are not implemented
     - [~4] mkfifo does not exist in win32
     - [~5] merge is not available
     - [~3] env is not implemented
     - [~2] remote is not available
     - other bugs in hg/pysh/python/Windows.


Download
--------
A hg bundle can be found here:

     <http://patrick.mezard.ifrance.com/hg/pysh-0.2.bundle>

Patches used to plug pysh into run-tests, to doctor OS specific messages 
in tests output, or stolen from the tracker are here:

     <http://patrick.mezard.ifrance.com/hg/pysh-patches.tar.gz>

run-tests.py report when run along with pysh and patches above is here:

     <http://patrick.mezard.ifrance.com/hg/pysh-runtests.log.gz>

--
Patrick Mézard



More information about the Mercurial mailing list