[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 10:28:35 +0200

Pankaj Chawla wrote:
> Hi Didier,
>
> Thanks for your response. Just wanted to know if I will have to do it on
> every file in the repository or can I put this in some server
> configuration file and svn will apply on all files when checkout/checkin
> happens.

This property has to be set on every file where it is needed. Once set, the
checkout/commit operations will behave correctly. You only have to add this
property when you add new files to the repository (svn add)

There is no server side capability to add it automatically. You can however
set it automatically on your client side SVN configuration file. But this
has to be done on every client. Look in the SVN book for 'auto properties'.

Didier

>
> Thanks Pankaj
>
> -----Original Message----- From: Didier Trosset
> [mailto:didier_trosset_at_agilent.com] Sent: Wednesday, May 28, 2008 1:05 PM
> To: Pankaj Chawla Cc: Kota, Sreenivasa ShravanaKumar;
> users_at_subversion.tigris.org Subject: Re: ^M characters in checkedin files
>
>
> 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
>
>

-- 
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 10:29:05 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.