Show More
@@ -165,6 +165,10 b' def dispatch(req):' | |||||
165 | except KeyboardInterrupt: |
|
165 | except KeyboardInterrupt: | |
166 | try: |
|
166 | try: | |
167 | req.ui.warn(_("interrupted!\n")) |
|
167 | req.ui.warn(_("interrupted!\n")) | |
|
168 | except error.SignalInterrupt: | |||
|
169 | # maybe pager would quit without consuming all the output, and | |||
|
170 | # SIGPIPE was raised. we cannot print anything in this case. | |||
|
171 | pass | |||
168 | except IOError as inst: |
|
172 | except IOError as inst: | |
169 | if inst.errno != errno.EPIPE: |
|
173 | if inst.errno != errno.EPIPE: | |
170 | raise |
|
174 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now