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

RE: Re: ^M characters in checkedin files

From: <nicklist_at_planet.nl>
Date: Wed, 28 May 2008 10:33:13 +0200

And when you have configured your autoprops in your client, you can use the svn_apply_autoprops script [1] that scans your auto-props settings and applies them to a working copy. These are normally applied to files you add to the repository, but this script is useful if you have added new properties, or other users have added files without configuring the desired properties.

[1] http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_apply_autoprops.py

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl

-----Original Message-----
From: Didier Trosset [mailto:didier_trosset_at_agilent.com]
Sent: Wed 5/28/2008 10:28
To: users_at_subversion.tigris.org
Cc: Pankaj Chawla
Subject: Re: ^M characters in checkedin files
 
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:35:57 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.