Hi,<div><br></div><div>Just wanted to toss around an idea to the community: partial cloning.</div><div><br></div><div>I've been using the perfarce extension some time, and whenever you clone a perforce repository the initial repository gets configured but starts writing to the change log, if the connection drops you can resume downloading by doing a pull. This would be very useful when downloading very big repositories.</div>

<div><br></div><div>If I am correct, when a clone is requested to a remote repo, the remote repo will create a bundle and serve it, which is then unpacked into the new clone, so what I'm suggesting is the ability to clone in an unbundled mode... which might be slower, but without the risk of having to start all over again.</div>

<div><br></div><div>Alternatively, an implementation that would allow to do the following in a more automatic way and without restarting the connection on each "step":</div><div><br></div><div>hg clone -r 0</div>

<div>hg pull -r 1</div><div>hg pull -r 2</div><div>hg pull -r <...></div><div>hg pull -r <N></div><div><br></div><div>Would something like this be feasible/sane for Mercurial?</div><div><br></div><div>Regards,</div>

<div><br></div><div>David</div><div><br></div><div><br></div>