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

RE: Subversion and samba

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Fri, 14 Mar 2008 08:44:21 -0400

The ^M characters aren't added by svn, they're added by your text editor. Cross-platform editors such as vi, gvim, emacs, and xemacs won't do that.

You can convert the file formats with "dos2unix" and "unix2dos"

I never would have guessed, but in the other replies so far, they say you can also have svn (or tortoise) automatically do the unix2dos or dos2unix for you. Pretty cool feature.

From: Kota, Sreenivasa ShravanaKumar [mailto:shravanakumar.ks_at_hp.com]
Sent: Friday, March 14, 2008 5:43 AM
To: users_at_subversion.tigris.org
Subject: Subversion and samba

Hi All,

I have a subversion working copy in unix. I have configured samba on my unix box so that I can access the working copy from windows.

I have modified files in windows and commit them using TortoiseSVN on windows.

When I check / open the files in unix, I see that there are control-M characters in each file that I committed from windows.

Is there any configuration / settings available in subversion or Tortoise SVN which will avoid adding control characters when files modified and committed from windows.

Also, I don't see the TortoiseSVN Icons on the samba shared working copy in windows.

I appreciate your help

Thanks & Regards,
Shravana Kumar
Received on 2008-03-14 14:05:59 CET

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.