This is an archive of the discontinued Mercurial Phabricator instance.

changegroup: replace getchangegroup with makechangegroup
ClosedPublic

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

Details

Summary

As part of reducing the number of changegroup creation APIs, let's replace
getchangegroup with calls to makechangegroup. This is mostly a drop in
replacement, but it does change the version specifier to be required, so it's
more obvious which callers are creating old version 1 changegroups still.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durham created this revision.Sep 10 2017, 10:07 PM
indygreg accepted this revision.Sep 11 2017, 6:14 PM
This revision is now accepted and ready to land.Sep 11 2017, 6:14 PM
This revision was automatically updated to reflect the committed changes.