[p4] please give me nocrlf back

Jeff Grills jgrills at junctionpoint.com
Thu Jul 6 08:28:15 PDT 2006


I don't know if it would be an option for you in your environment, but if
you set the file types to binary, perforce won't touch the contents at all.
There are other ramifications, like storage of the files on the server, but
it might solve your problem.

j

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Phlip
Sent: Wednesday, July 05, 2006 9:13 PM
To: perforce-user at perforce.com
Subject: [p4] please give me nocrlf back

Perforce users:

I need to share a drive, edit files on it with one kind of editor, and
check the files in without Perforce screwing with their end-of-line
characters.

Unbelievably, the current system only allows me to pick _how_ Perforce
will screw with the end of line characters. Unix mode, Dos mode, Local
mode, etc. There is no feature to simply _not_ screw with them.

Put another way, all of my tools work correctly with various
end-of-line systems, except Notepad and Perforce.

I'm aware I can write check-in scripts that detect and adjust. Is
there a back-door to the old "nocrlf" command?

Server 2005.2/94595.

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!



More information about the perforce-user mailing list