##// END OF EJS Templates
tests: dump journal file by python script instead of sed for portability...
FUJIWARA Katsunori -
r27993:afb86ee9 default
parent child Browse files
Show More
@@ -1,5 +1,12 b''
1 1 #require unix-permissions no-root
2 2
3 $ cat > $TESTTMP/dumpjournal.py <<EOF
4 > import sys
5 > for entry in sys.stdin.read().split('\n'):
6 > if entry:
7 > print entry.split('\x00')[0]
8 > EOF
9
3 10 $ echo "[extensions]" >> $HGRCPATH
4 11 $ echo "mq=">> $HGRCPATH
5 12
@@ -14,7 +21,7 b''
14 21 > hg verify
15 22 > echo % journal contents
16 23 > if [ -f .hg/store/journal ]; then
17 > sed -e 's/\.i[^\n]*/\.i/' .hg/store/journal
24 > cat .hg/store/journal | python $TESTTMP/dumpjournal.py
18 25 > else
19 26 > echo "(no journal)"
20 27 > fi
General Comments 0
You need to be logged in to leave comments. Login now