This is an archive of the discontinued Mercurial Phabricator instance.

bundle2: fix broken compression engine assertion
ClosedPublic

Authored by martinvonz on Oct 18 2018, 4:52 PM.

Details

Summary

bundletype() is a function, so it needs to be called, and it is
documented to return a 2-tuple. This code is untested, so that's why
we haven't noticed the bad assertion.

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

martinvonz created this revision.Oct 18 2018, 4:52 PM
This revision was automatically updated to reflect the committed changes.