Page MenuHomePhabricator

manifest: introduce new exception to signal unavailability of fastdelta()
ClosedPublic

Authored by durin42 on Apr 2 2020, 1:16 PM.

Details

Summary

I've spent some time reflecting on this, and I think this is the best
we can do in this API contract for now. This opens the door to adding
treemanifest's implementation to the list of implementers of
imanifestdict.

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

durin42 created this revision.Apr 2 2020, 1:16 PM
pulkit accepted this revision.Apr 3 2020, 5:20 AM
This revision is now accepted and ready to land.Apr 3 2020, 5:20 AM
pulkit added inline comments.Apr 3 2020, 5:21 AM
mercurial/manifest.py
1632

this will lead us to running this and next heapq.merge call on treemanifest, but I am not sure how costly that will be.