This is an archive of the discontinued Mercurial Phabricator instance.

prefetch: do not attempt to prefetch trees for non-public commits
ClosedPublic

Authored by singhsrb on Nov 20 2017, 1:44 PM.
Tags
None
Subscribers

Details

Summary

This is a follow up to D1446. It extends the prefetch logic to not
download trees even for commits with secret phase. Also, it uses a better way
of dealing with revsets. Thanks @quark for this!

Test Plan

Ran all the tests.

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

singhsrb created this revision.Nov 20 2017, 1:44 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 20 2017, 1:44 PM
quark accepted this revision.Nov 20 2017, 3:40 PM
This revision is now accepted and ready to land.Nov 20 2017, 3:40 PM
This revision was automatically updated to reflect the committed changes.