mq: don't commit local changes on pushing empty patch (
issue1087)
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).
convert: fix svn branch source detection corner case
It was confused by composite-looking revisions made by copy + remove.