mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
c2869d6ca9
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 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
traceimport.py |