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).
#!/bin/shmkdir acd ahg initecho foo > bhg add bhg ci -m "b" -d "1000000 0"chmod -w .hg/storecd ..hg clone a bchmod +w a/.hg/store # let test clean upcd bhg verify