D705: bundle2: move exception handling into part iterator

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Sep 25 04:54:38 EDT 2017


indygreg added a comment.


  This commit regressed the behavior of ^C during part application (https://phab.mercurial-scm.org/rHGad41739c6b2b5a9217467abb65d6429ba4fae9ba and issue 4784). Before, ^C would abort bundle2 application pretty quickly. Afterwards, it appears we now attempt I/O to seek to the end of the part (or something).
  
  You can test this by running `hg clone https://hg.mozilla.org/mozilla-unified` and hitting ^C after some changesets are applied. If the process doesn't terminate right away and requires a 2nd ^C to terminate, the behavior is bad.

REPOSITORY
  rHG Mercurial

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

To: durham, #hg-reviewers, indygreg
Cc: martinvonz, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list