Recommended approach for converting from CVSNT to Mercurial?

Steve Borho steve at borho.org
Thu Jan 14 21:32:40 CST 2010


On Thu, Jan 14, 2010 at 9:17 PM, greg fenton <greg.fenton at gmail.com> wrote:
> So running against our largest and most complex module, Pass 12 shows
> a total of r19520 subversion commits.
> On Pass 16, we get to:
>
> ....
> added changeset 6465:1c4ffce3510a (branch: default)
> added changeset 6466:319b63598590 (branch: default)
> added changeset 6467:6231deb28d4b (branch: default)
> ./do_convert.sh: line 24:  3670 Killed                  $CVS2HG
> --encoding=cp1252 --hgrepos $hg_repo/${i} ${i}
>
>
> Anything I can do to increase the verbosity and/or debug level for
> this?  It took 9 hours to get that far.

Two things:

You can tell it to convert up to a specific revision number, so tell
it to convert 6400 changesets, then tell it to do the rest.  This way,
it doesn't roll _all_ of them back when it dies.
It's often good form to chop up conversions into 10-minute chunks like
that to limit the effect of memory leaks, etc.

the --debug argument can be used with just about any command to get
detailed spew.

--
Steve Borho


More information about the Mercurial mailing list