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

Re: Text files with embedded (solitary) control-M

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-09-20 17:10:59 CEST

>>>>> "Dale" == Dale R Worley <dworley@pingtel.com> writes:

 Dale> On Tue, 2005-09-20 at 10:11 -0400, Paul Koning wrote:
>> 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 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?

 Dale> If you don't set the svn:eol-style property, Subversion won't
 Dale> mess with \r or \n in your file. But I would worry about
 Dale> whether the conversion program will deal with CR correctly.

Will Subversion then still do textual differences, or will it view the
file as pure binary?

I think the conversion program won't touch the file content at all if
I tell it not to set svn:eol-style on those files -- if I can figure
out a clean way to do that.

    paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 20 17:18:08 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.