[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: Didier Trosset <didier_trosset_at_agilent.com>
Date: Wed, 28 May 2008 09:34:32 +0200

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.)

Didier

>
> 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
Received on 2008-05-28 09:34:59 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.