Skip to content

Remove some unnecessary caching

We had reports of hg-git using excessive memory, in particular #338 (closed). This is an attempt at fixing this by removing some unnecessary caching and spooling transfers to disk. I suspect something else is causing memory usage to diverge — possibly within Dulwich.

The use of temporary files enables a minor optimisation: Moving in the received pack on an initial clone.

Merge request reports