D960: bundle2: immediate exit for ctrl+c (issue5692)

quark (Jun Wu) phabricator at mercurial-scm.org
Thu Oct 5 22:32:36 UTC 2017


quark requested changes to this revision.
quark added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> bundle2.py:380
>              if (self.current and
>                  not isinstance(exc, (SystemExit, KeyboardInterrupt))):
>                  # consume the part content to not corrupt the stream.

Actually `KeyboardInterrupt` is tested here. So there is something else going on. Maybe we should add `error.SignalInterrupt` to the list?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D960

To: durham, #hg-reviewers, quark
Cc: mercurial-devel


More information about the Mercurial-devel mailing list