equal
deleted
inserted
replaced
97 output so we can test I/O capture and behavior. |
97 output so we can test I/O capture and behavior. |
98 |
98 |
99 Test pushing to a server that has a pretxnchangegroup Python hook that fails |
99 Test pushing to a server that has a pretxnchangegroup Python hook that fails |
100 |
100 |
101 $ cat > $TESTTMP/failhook << EOF |
101 $ cat > $TESTTMP/failhook << EOF |
102 > from __future__ import print_function |
|
103 > import sys |
102 > import sys |
104 > def hook1line(ui, repo, **kwargs): |
103 > def hook1line(ui, repo, **kwargs): |
105 > ui.write(b'ui.write 1 line\n') |
104 > ui.write(b'ui.write 1 line\n') |
106 > ui.flush() |
105 > ui.flush() |
107 > return 1 |
106 > return 1 |