Mercurial > hg
diff hgeditor @ 21630:a204fd9b5ba9
convert: drastically speed up git conversions
We would formerly exec git cat-file once for every commit, plus once for
every tree and file we wnated to read. This switches to using git
cat-file's batch mode, which is much, much, much faster.
Using this new code, converting the git git repo to hg ran in 106
minutes on my machine. Using the stock mercurial, it required 1239
minutes. I believe this to be typical of the speedups we will see
form this patch.
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Tue, 27 May 2014 21:12:24 -0700 |
parents | 2b440bb8a66b |
children | 1aee2ab0f902 |