[ANN] pysh 0.3

Patrick Mézard pmezard at gmail.com
Tue May 1 18:39:29 UTC 2007


Hello,

0.3 - 2007-05-01
----------------
* Fix many bugs related to shebangs and quoted fields parsing/expansion, 
25 more tests pass since the last release (thanks to Alexis's simplemerge).


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)


Mercurial Tests Coverage
------------------------

# Ran 149 tests, 0 skipped, 26 failed.

* Failures comes from:
     'test-tag',
     'test-issue352',                # Cannot create files with newlines 
under win32.
     'test-hup',                     # mkfifo
     'test-clone-failure',           # mkfifo
     'test-walk',                    # mkfifo
     'test-symlinks',                # mkfifo
     'test-symlink-basic',           # No symlink
     'test-symlink-root',            # No symlink
     'test-commit',                  # No symlink
     'test-git-import',              # executable bit
     'test-rename',                  # lnk files are created (probably 
symlink related)
     'test-flags',                   # umask

     'test-archive',                 # problem with pipes under win32
     'test-git-export',              # ? probably permissions
     'test-oldcgi',                  # pysh redirection is broken 
(operation on closed file)
     'test-hook',                    # variable substitution error ?
     'test-pull-pull-corruption2',   # Asynchronous list
     'test-clone-pull-corruption',   # Asynchronous list
     'test-bad-pull',                # Asynchronous list
     'test-webraw',                  # Asynchronous list
     'test-static-http',             # Asynchronous list
     'test-http-proxy',              # Asynchronous list
     'test-pull-pull-corruption',    # Asynchronous list

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

     <http://patrick.mezard.ifrance.com/hg/pysh-0.3.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-0.3-f9cd48bd8625.tar.gz>

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

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



More information about the Mercurial mailing list