This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: replace getlocalchangegroupraw with makestream
ClosedPublic

Authored by durham on Sep 10 2017, 10:06 PM.

Details

Summary

As part of reducing the number of changegroup creation apis, let's replace calls
to getlocalchangegroupraw with calls to makestream. Aside from one case of
checking if there are no outgoing commits and returning None, this is pretty
much a drop in replacement.

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 10 2017, 10:06 PM
indygreg accepted this revision.Sep 11 2017, 6:18 PM
This revision is now accepted and ready to land.Sep 11 2017, 6:18 PM
This revision was automatically updated to reflect the committed changes.