D628: merge: flush any deferred writes before, and after, running any workers

quark (Jun Wu) phabricator at mercurial-scm.org
Fri Sep 8 15:16:46 EDT 2017


quark added a comment.


  Just a personal preference: we can add `def flushall(self): pass` to the other ctx and just call `ctx.flushall()` without testing `isinstance`. I guess that's slightly more readable.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list