hg convert cvs on Windows

Patrick Mézard pmezard at gmail.com
Fri Sep 14 16:31:14 CDT 2007


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



More information about the Mercurial mailing list