hg convert cvs on Windows

Chuck.Kirschman at bentley.com Chuck.Kirschman at bentley.com
Sun Sep 16 19:15:20 CDT 2007


We did a port of rcsparse to Windows for our Mercurial conversion if it would help you.  It works with most of the cvsNT quirks except renames.  We used cvs20hg which we heavily modified to our own needs.  Performance is not bad; we could handle 90K changesets (about 1.5 GB repository, 24K files) in less than a day on mediocre hardware.  Using rcsparse was substantially faster than running anything out of process.

chuck

-----Original Message-----
From: mercurial-bounces at selenic.com [mailto:mercurial-bounces at selenic.com] On Behalf Of Patrick Mézard
Sent: Friday, September 14, 2007 5:31 PM
To: Peer Sommerlund
Cc: mercurial at selenic.com
Subject: Re: hg convert cvs on Windows

Peer Sommerlund a écrit :
> I would like to "hg convert" a cvs repository.
> My OS is Windows without cygwin.
> 
> After a few experiments, I guess that this is not currently supported. 
> Is this true?

Hello,

A couple of fixes are now available in crew and crew-stable (ending at 
http://hg.intevation.org/mercurial/crew/rev/5b0b0834419c). They require 
cygwin cvsps (AFAIK there is no Windows port) and either cygwin cvs 
client or cvsnt (I did not test pserver connections with the last one 
but there is no reason to fail).

Usage sample (from Windows prompt, no need for cygwin besides having 
cvsps and possibly cvs in PATH):

$ cvs -d:pserver:anonymous at gwt.cvs.sourceforge.net:/cvsroot/gwt login
$ cvs -z3 -d:pserver:anonymous at gwt.cvs.sourceforge.net:/cvsroot/gwt co 
-P GMaps2

[... local copy extration here ...]

$ hg convert GMaps2

assuming destination GMaps2-hg
initializing destination GMaps2-hg repository
connecting to :pserver:anonymous at gwt.cvs.sourceforge.net:/cvsroot/gwt
scanning source...
sorting...
converting...
186 First pass - alpha code
185 Added additional control methods
184 Added the base overlay class
183 Implemented GIcon

[... a couple of minutes later, SF slowness ...]

1 Updated ElementBridge to support GGeocoderResult (so we could grab the 
placemark arrays)
0 Current code
updating tags

--
Patrick Mézard

_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list