This is an archive of the discontinued Mercurial Phabricator instance.

repack: add blob size to metadata if it's missing
ClosedPublic

Authored by phillco on Oct 26 2017, 7:57 PM.
Tags
None
Subscribers
None

Details

Reviewers
durham
Group Reviewers
Restricted Project
Commits
rFBHGXbd434ad44ff6: repack: add blob size to metadata if it's missing
Summary

When trees are fetched from the server as packs, metadata isn't included, as
it's not supported in the protocol. Fast size information is useful, since
we have access to the fulltext during a repack, add the metadatan then.

This will be needed for sized-based sorting of manifest entries.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

phillco created this revision.Oct 26 2017, 7:57 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 26 2017, 7:57 PM
phillco updated this revision to Diff 3133.Oct 26 2017, 8:03 PM
phillco edited the summary of this revision. (Show Details)Oct 26 2017, 8:05 PM
phillco edited the summary of this revision. (Show Details)
phillco edited the summary of this revision. (Show Details)Oct 30 2017, 11:49 PM
phillco added a reviewer: durham.
phillco updated this revision to Diff 3170.Oct 31 2017, 2:02 AM
durham accepted this revision.Oct 31 2017, 3:56 PM
This revision is now accepted and ready to land.Oct 31 2017, 3:56 PM