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

Re: ^M characters in checkedin files

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 28 May 2008 07:00:05 -0400

On Wed, May 28, 2008 at 3:34 AM, Didier Trosset
<didier_trosset_at_agilent.com> wrote:
> Kota, Sreenivasa ShravanaKumar wrote:
>>
>> Check if this works.
>>
>> svn propset svn:eol-style LF filename
>
> No. Try rather this one
>
> $ svn propset svn:eol-style native filename
>
> The native will make line endings native on each platform.
> (LF would have make it UNIX-like even on Windows.)

No, this will continue his problem. He's accessing the same WC from
both Windows and Linux. So if he sets this, files updated/checked out
via Linux will show ^M when accessing the files from Windows (or maybe
it's the other way, I forget).

Really, sharing a WC between OSes is setting oneself up for some
amount of trouble, and should be avoided if possible.

>>
>> Thanks & Regards,
>> Shravana Kumar
>> -----Original Message-----
>> From: Pankaj Chawla [mailto:pankaj_at_cadence.com]
>> Sent: Wednesday, May 28, 2008 8:44 AM
>> To: users_at_subversion.tigris.org
>> Subject: ^M characters in checkedin files
>>
>> Hi
>>
>> I have a SVN server working on Windows XP with the repository also on the
>> same machine. The repository is accessed from both Windows and Linux
>> machines using TortoiseSVN on windows and svn commandline on linux. The
>> problem is that when files are checked-in from windows and later checkedout
>> on linux I see ^M characters on linux.
>> The reason is because of the \r\n and \n difference between the two
>> platforms. My question is, is there a way to setup svn to take care of this
>> automatically. Clearcase has a interoperatibility option that takes care of
>> this problem. Is there something similar in SVN.
>>
>> Cheers
>> Pankaj
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>>
>>
>
> --
> Didier Trosset-Moreau
> Acqiris Operations
> Agilent Technologies
> Geneva, Switzerland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-28 13:00:54 CEST

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.