This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: gc option for repacker class
ClosedPublic

Authored by ms2316 on Aug 15 2017, 7:02 AM.
Tags
None
Subscribers
None

Details

Summary

Repack is also used for repack of local trees, which should not be garbage
collected. Therefore, we want to be able to pass the gc option to the repacker
class so that we could garbage collect the shared cache but not local trees.

Test Plan
  • Run unit tests
  • Test manually on www repo

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

ms2316 created this revision.Aug 15 2017, 7:02 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 15 2017, 7:02 AM
ryanmce edited edge metadata.Aug 15 2017, 7:14 AM

Why is this better?

ms2316 edited the summary of this revision. (Show Details)Aug 15 2017, 7:30 AM
ms2316 updated this revision to Diff 928.

Updated summary

ryanmce accepted this revision.Aug 15 2017, 7:31 AM
This revision is now accepted and ready to land.Aug 15 2017, 7:31 AM
This revision was automatically updated to reflect the committed changes.