HomePhabricator

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

Authored by singhsrb.

Description

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

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.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Subscribers: quark

Differential Revision: https://phab.mercurial-scm.org/D1461

Details

Committed
singhsrbNov 20 2017, 3:41 PM
Reviewer
Restricted Project
Differential Revision
D1461: prefetch: do not attempt to prefetch trees for non-public commits
Parents
rFBHGX9ad311f5e369: basepack: fix _getavailablepackfiles sizes
Branches
Unknown
Tags
Unknown