( )⚙ D690 changegroup: avoid creating empty changegroup part

This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: avoid creating empty changegroup part
ClosedPublic

Authored by durham on Sep 12 2017, 12:13 PM.

Details

Summary

Previously this check happened in the changegroup code itself. Since it's
refactor, this logic needs to move out to callers that care about it, such as
this one. Otherwise we get empty bundle devel-warnings in certain extensions.

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

durham created this revision.Sep 12 2017, 12:13 PM
This revision was automatically updated to reflect the committed changes.