Code

cvsimport: complete the cvsps run before starting the import
authorMartin Langhoff <martin@catalyst.net.nz>
Sun, 11 Jun 2006 08:12:20 +0000 (20:12 +1200)
committerJunio C Hamano <junkio@cox.net>
Sat, 17 Jun 2006 05:45:11 +0000 (22:45 -0700)
commit2f57c69792146e6c178a05edec18ab15d0138ad6
tree88350e6446747bb463476cbe4c6ed4ee4ce72594
parent71b08148366bbc4d02b3477e7ded35b049206f89
cvsimport: complete the cvsps run before starting the import

We now capture the output of cvsps to a tempfile, and then read it in.
cvsps 2.1 works quite a bit "in memory", and only prints its patchset
info once it has finished talking with cvs, but apparently retaining
all that memory allocation. With this patch, cvsps is finished and
reaped before cvsimport start working (and growing). So the footprint
of the whole process is much lower.

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl