This is an archive of the discontinued Mercurial Phabricator instance.

bundlerepo: don't assume there are only two bundle classes
ClosedPublic

Authored by indygreg on Nov 11 2017, 9:51 PM.

Details

Summary

exchange.readbundle() can return a type that represents a stream
clone bundle. Explicitly handle the bundle1 type and raise a
reasonable error message for unhandled bundle types.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Nov 11 2017, 9:51 PM
dlax accepted this revision.Nov 13 2017, 2:57 AM
durin42 accepted this revision.Nov 13 2017, 5:20 PM
This revision is now accepted and ready to land.Nov 13 2017, 5:20 PM
This revision was automatically updated to reflect the committed changes.