sapling/treemanifest
Saurabh Singh 5b16b0ac57 prefetch: do not attempt to prefetch trees for draft commits
Summary:
After D1417, `hg prefetch` takes care of downloading both the files
and trees during the prefetch. However, when the command is run without any
options, it attempts to prefetch the trees for the draft commits which results
in an error. We should not even attempt to prefetch trees for the draft
commits.

Test Plan: Added a test to detect this case and ran all the tests.

Reviewers: #fbhgext, durham

Reviewed By: #fbhgext, durham

Subscribers: durham

Differential Revision: https://phab.mercurial-scm.org/D1446
2017-11-17 14:19:41 -08:00
..
__init__.py prefetch: do not attempt to prefetch trees for draft commits 2017-11-17 14:19:41 -08:00