view tests/narrow-library.sh @ 37459:90c5ca718781

procutil: rewrite popen() as a subprocess.Popen wrapper (issue4746) (API) os.popen() of Python 3 is not the popen() we want. First, it doesn't accept command in bytes. Second, a returned stream is always wrapped by TextIO. So we have to reimplement our popen(). Fortunately, this fixes the bug 4746 since ours returns an exit code compatible with explainexit(). .. api:: ``procutil.popen()`` no longer supports text mode I/O.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 07 Apr 2018 21:09:21 +0900
parents 2405ca783672
children bcf70058af90
line wrap: on
line source

cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[ui]
ssh=python "$TESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF