Every post I found in the googles referenced pserver (CVS’s clear-text socket-server protocol) when importing a CVS repository. Until I found this. Huzzah.
So I wanted to import a local CVS repository — something sitting in /home/cvs, and setting CVSROOT didn’t work. The secret is
- to not set the CVSROOT environment variable,
- to use the “:local:” cvs protocol
- to realize that the current working directory will be the destination directory for the new git repo.
This is the magick incantation (again, assuming that your CVSROOT lives in /home/cvs, and your cvs module to import is called “photostructure“):
mkdir ~/photostructure.git ; cd ~/photostructure.git git-cvsimport -v -d :local:/home/cvs photostructure
Related posts:
- Preventing an external hard drive from idling on ubuntu
I got a Seagate FreeAgent Pro external hard drive for backups (JWZ has a very straightforward article about this). It happily reformatted to ext3, and I kicked off an rsync...... - Installing Trac on Ubuntu
Here’s the condensed version, using the installation guide for help: Install the software sudo apt-get install python-setuptools python-subversion sudo easy_install Trac Initialize the Trac project We’re going to run the...... - Simple Log4J eclipse template
Do you use eclipse and log4j? Do you have a template to add a static Logger instance in classes? Do you have to manually add the import? HA! NO MORE!...... - Switching between Rails 2 and Rails 3 on Mac OS X or Ubuntu with RVM
I’m migrating AdGrok to Rails 3 this weekend–what with the new ActiveRecord query functionality, and MongoMapper, and all our gems migrating to Rails 3, it seems like it’s time. The......