[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Text files with embedded (solitary) control-M

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-09-20 16:11:14 CEST

I have a CVS repository that has a bunch of files with embedded
control-M (\r) characters. Those aren't Mac OS 9 files; some are
Windows files and some are Unix files. In some cases the \r seems to
be meaningless, in other cases it may be important. In any case, I
don't want it converted to a newline.

I could mark all those files as binary with cvs admin, but that's not
really right, they aren't binary files but text files.

I could try to figure out how to get cvs2svn *not* to set
svn:eol-style=native on such files; that would leave the \r alone,
right? But would it then at the SVN side make the files look like
binary files?

Or I could (somehow?) figure out how to change svn:eol-style=native so
it translates \r\n and \n but leaves standalone \r alone (since there
isn't any supported platform that uses those for line endings).

Which is the right answer, and why?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 20 16:25:30 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.