On 6 Mar 2009, at 13:18, David Cantrell wrote:
On Fri, Mar 06, 2009 at 09:36:25AM +0000, Drew Taylor wrote:
I've been trying to figure out how to worm git into our workflow at
$work where we currently are using CVS. I tried to import the CVS
repo
to git a couple different ways but was spectacularly unsuccessful
both
times.
I've just taken my CVS repo from sourceforget and imported it into git
just fine. The recipe was:
Get a local copy of the entire repo:
$ rsync -av rsync://drhyde.cvs.sourceforge.net/cvsroot/drhyde/
$HOME/cvs-repo
Build and install cvsps, which you can get from here if your OS
doesn't
have a pre-built package of it. You need version 2.1 or higher (2.1
is
the most recent stable release):
http://www.cobite.com/cvsps/cvsps-2.1.tar.gz
Import. This may take a Very Long Time, and needs absolute paths:
$ git cvsimport -av -d $HOME/cvs-repo -C /path/to/new/git-repo cvs-
module-name
Coming back to this topic, I tried another import today and failed
(again). I ended up removing quite a few images which seemed to be
causing problems (something about missing version 1.1).
In the end, it seemed to get through all the directories but got an
error
git-cvsimport: fatal: cvsps reported error
During the import process there were several warnings, but nothing
indicating a fatal error. The warnings were:
branch mismatch for test/fixtures/flight_suppliers/small_fixtures.sql:
1.1.2.1 LIVE != #CVSPS_NO_BRANCH (7 total w/ different file each time)
WARNING: revision 1.1.2.1 of file docs/images/mail/so/
09mar1/10_dep_eur.jpg on unnamed branch (~20 total of this type for
~10 files)
WARNING: branch_add already set! (about 40-50 times)
Any ideas?
Drew
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm