Skip to content

Importing Repositories on Windows

jordanell edited this page May 2, 2012 · 1 revision

This project does not fully support Windows for importing repositories other than Git. Below are some of the attempts we made to run our converter scripts on Windows.

  1. Get Cygwin to get "git cvsimport" and "cvsps" into git-core package: Install Cygwin then get git packages (Dont install everything from Cygwin, JUST the git stuff) http://techblogging.wordpress.com/2008/04/11/compiling-and-installing-git-on-windows-under-cygwin/ http://stackoverflow.com/questions/2265221/can-we-use-git-cvs-on-windows

  2. Add Cygwin bin to your PATH (C:\cygwin\bin)

  3. Open cmd, try to run git cvsimport -p -x -v -d :pserver:[email protected]:/web/url -C myCVS2Git url

  4. Might need to create new Environment Variable "CVSROOT" you will likely get cvsps errors about can't create ".cvsps" or Cannot create the cvsps directory '.cvsps': git cvsimport: fatal: cvsps reported error

  5. ???? (Goodluck)

  6. Profit

Refs: some cvsps errors http://mschrag.blogspot.ca/2008/03/git-cvsimport-failure.html

Clone this wiki locally