sapling/eden/scm/edenscm
Jun Wu c2869d6ca9 remotefilelog: call setuprepo unconditionally in clone_shallow -> pull_shallow
Summary:
Before this change, pull_shallow only calls setuprepo if the remotefilelog
requirement is not in repo. With D21011401, the remotefilelog requirement
will be added by clone.py and pull_shallow can skip calling setuprepo, causing
the pull code paths to write file logs (and fail).

Change the pull_shallow to always call `setuprepo` to solve the issue.

The final fix is probably moving more remotefilelog related clone logic to core.
Right now I just did the minimal change to fix things.

Reviewed By: sfilipco

Differential Revision: D21632429

fbshipit-source-id: 17775ac0df18cda10247419b40f9c27436b22606
2020-05-18 17:52:34 -07:00
..
hgdemandimport py3: fix test-help.t 2020-04-09 18:25:54 -07:00
hgext remotefilelog: call setuprepo unconditionally in clone_shallow -> pull_shallow 2020-05-18 17:52:34 -07:00
mercurial discovery: go back to random sampling but include master 2020-05-15 19:03:29 -07:00
__init__.py start adding type annotations for the cext code 2020-02-21 13:54:19 -08:00
__main__.py edenscm: add a main module 2020-01-30 18:09:14 -08:00
traceimport.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00