Skip to content
Snippets Groups Projects
Commit 377d8fc2 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

clone: reuse the stream clone logic for local clone

Streaming clone and local (non `--pull`) clone do mostly the same thing,
however they were using different logic to do so. This means the logic
frequently went out of sync and that new case had to be dealt with twice.

This is fragile and anoying. So we replace this with a re-use of the logic we
use for streaming clone.

I can see various test changes:

- a more precise progress output,
- armless fncache loading during clone,
- fncache is no longer hardlinked (since we write it by hand).

I am not reinstalling the `reposimplestore` specific output, as far as I
understand this variant have been broken for years.

Differential Revision: https://phab.mercurial-scm.org/D10855
parent 09ff5d53
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment