cvsimport still not working with cvsnt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm going to try sending this blind, as the mailing list has sent me the promised authorization key after 24 hrs.

I'm brand new to git. We'll be moving over from CVS, so I imported a small part of our CVS repository to start learning git. We use the CVSNT server, and git-cvsimport was failing with "I HATE YOU". I finally found the problems, both of which were reported in 2008 here:

http://kerneltrap.org/mailarchive/git/2008/3/13/1157364

However, these changes do not appear in the version 1.7.2.2 that Gentoo supplies. I checked the 1.7.3-rc2 source and the changes are not in there either.

I do see one possible issue with the supplied modifications. At work, we upgraded from CVS to CVSNT. So, my home directory has both .cvspass (from the original CVS) and .cvs/cvspass (after the conversion to CVSNT.) Sloppy housekeeping on my part, I admit, but probably not uncommon. The supplied patch would pick up the original CVS file and would fail. (BTW, this is true only of the git-cvsimport.perl script itself; cvsps must shell out to the installed CVS client (in my case, cvsnt), because when I invoked that manually, it worked.)

So, I would advise checking to see if both files exist, and if so exit with an error. Unless cvsimport wants to get real fancy and shell out to the installed cvs client to try to figure out what is installed, there is no way to tell which cvspass file is actively being used. I don't recommend trying to figure this out, as the user's intent is unclear.

--
Guy Rouillier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]