[p4] Converting from CVS to P4 -- Line Endings
David Weintraub
qazwart at gmail.com
Thu Dec 28 09:05:51 PST 2006
We currently work with CVS and are having line ending issues.
Sometimes files were edited with Windows and sometimes they were
edited with Unix. This means that our CVS archives themselves have
mixed line endings. Revision 1.3 and Revision 1.4 of a particular file
may be identical except one was edited on Windows and another was
edited on Unix. Depending which revision you checkout, you'll get two
different line endings.
If I do a CVS to Perforce conversion, I'd like to fix this once and
for all. I want to let Perforce handle the line ending issue, so that
all files are stored in the archive with the same line ending, and get
checked out to the client with the correct line ending.
Any recommendations? If I use the cvs2p4 conversion utility, I know
that these "corrupted" CVS archive files will be transfered over. Can
I clean up these archive files first before simply copying them over?
What if I decide to only convert over relevant releases?
--
David Weintraub
qazwart at gmail.com
More information about the perforce-user
mailing list