Mercurial > hg
view tests/test-mq-qsave @ 6548:962eb403165b
replace usage of os.popen() with util.popen()
To make this possible, I added a mode parameter to both implementations of
util.popen(), defaulting to 'r' (as it does in the Python stdlib).
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 14 Apr 2008 14:34:38 +0200 |
parents | 61fcd9fac434 |
children |
line wrap: on
line source
#!/bin/sh echo "[extensions]" >> $HGRCPATH echo "mq=" >> $HGRCPATH hg init a cd a echo 'base' > base hg ci -Ambase -d '1 0' hg qnew -mmqbase mqbase hg qsave hg qrestore 2