This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: record changelogdone after fully consuming its data
ClosedPublic

Authored by indygreg on Aug 6 2018, 3:51 PM.

Details

Summary

Setting this as a side-effect of calling _close() is wonky. There's
only one group for changelog data. So we can wait until after all
data has been emitted before recording it.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Aug 6 2018, 3:51 PM
indygreg updated this revision to Diff 10063.Aug 7 2018, 1:26 PM
This revision was automatically updated to reflect the committed changes.