Currently an incremental repack on the server will repack the entire pack files, and the new parts of the revlogs. The pack files can be very large and can take a long, long time to run. So let's use the normal incremental pack heuristics to minimize how often we have to do full repacks.
Details
Details
- Reviewers
phillco quark - Group Reviewers
Restricted Project - Commits
- rFBHGXc93f3c014cec: treemanifest: improve server side incremental repack
Added a test
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
treemanifest/__init__.py | ||
---|---|---|
1493 | Do we really need stats here? If not, maybe set stat=False, or just use os.listdir instead of osutil. |
Do we really need stats here? If not, maybe set stat=False, or just use os.listdir instead of osutil.