Page MenuHomePhabricator

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

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



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

rFBHGX Facebook Mercurial Extensions
Automatic diff as part of commit; lint not applicable.
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.