[p4] Converting from CVS to P4 -- Line Endings
Ivey, William
william_ivey at bmc.com
Fri Dec 29 09:10:06 PST 2006
We have occasionally encountered a file which contained a literal CR that was important.
You might want to make sure you strip the CR only from CR/LF pairs. (Usually this
situation is in a script in which CR is added to IFS so CRs are treated as whitespace.)
-Wm
________________________________
From: perforce-user-bounces at perforce.com on behalf of Ken Williams
Sent: Thu 12/28/2006 3:33 PM
To: David Weintraub; Perforce list
Subject: Re: [p4] Converting from CVS to P4 -- Line Endings
> From: David Weintraub <qazwart at gmail.com>
> Date: Thu, 28 Dec 2006 12:05:51 -0500
> To: Perforce Users Mailing List <perforce-user at perforce.com>
> Subject: [p4] Converting from CVS to P4 -- Line Endings
>
> 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?
Yeah, if the files are all known to be text files I'd probably just strip
out all carriage returns (or whatever works in your case) in [a copy of] the
RCS files before proceeding with the rest of the conversion.
-Ken
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list