equal
deleted
inserted
replaced
130 > ui.write(b'going to crash\n') |
130 > ui.write(b'going to crash\n') |
131 > raise Exception('.') |
131 > raise Exception('.') |
132 > EOF |
132 > EOF |
133 |
133 |
134 $ cat > $TESTTMP/fakepager.py <<EOF |
134 $ cat > $TESTTMP/fakepager.py <<EOF |
135 > from __future__ import absolute_import |
|
136 > import sys |
135 > import sys |
137 > import time |
136 > import time |
138 > for line in iter(sys.stdin.readline, ''): |
137 > for line in iter(sys.stdin.readline, ''): |
139 > if 'crash' in line: # only interested in lines containing 'crash' |
138 > if 'crash' in line: # only interested in lines containing 'crash' |
140 > # if chg exits when pager is sleeping (incorrectly), the output |
139 > # if chg exits when pager is sleeping (incorrectly), the output |