diff -r 8f244b75cc5e -r afb86ee925bf tests/test-repair-strip.t --- a/tests/test-repair-strip.t Fri Feb 05 22:32:05 2016 +0900 +++ b/tests/test-repair-strip.t Fri Feb 05 22:32:05 2016 +0900 @@ -1,5 +1,12 @@ #require unix-permissions no-root + $ cat > $TESTTMP/dumpjournal.py < import sys + > for entry in sys.stdin.read().split('\n'): + > if entry: + > print entry.split('\x00')[0] + > EOF + $ echo "[extensions]" >> $HGRCPATH $ echo "mq=">> $HGRCPATH @@ -14,7 +21,7 @@ > hg verify > echo % journal contents > if [ -f .hg/store/journal ]; then - > sed -e 's/\.i[^\n]*/\.i/' .hg/store/journal + > cat .hg/store/journal | python $TESTTMP/dumpjournal.py > else > echo "(no journal)" > fi