LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2008, 11:14 AM   #1
haiders
Member
 
Registered: Sep 2006
Posts: 62

Rep: Reputation: 15
SVN File type DOS


I have SVN 1.4.3 running on my RH linux server and was wondering, is there a way to automate all files in my repository to be converted to DOS format? For existing files and when new files are checked in they are converted as well?

Thanks for the help!
 
Old 03-13-2008, 01:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
May I ask why you'd want to do that? Seems a bit odd to me.
As far as I'm concerned it would be the task of the client
on the DOS/Windows side to take care of line-endings for you.


Cheers,
Tink
 
Old 03-13-2008, 04:41 PM   #3
haiders
Member
 
Registered: Sep 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for the reply Tinkster. I was able to figure it out. The developers are working off of their windows workstations and are checking in content using tortoise. I had to enable "auto-props" and edit the config file on the tortoise client under settings by uncommenting the following:

# *.dsp = svn:eol-style=CRLF
# *.dsw = svn:eol-style=CRLF

By default it uses native style.
 
Old 03-13-2008, 04:54 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
So you didn't need to proceed with the idea of changing SVNs default behaviour on
the server side? Good news :}

Btw, even w/o DOS line-ends: even a stupid editor like WordPad can quite happily read
and save files with Linux-line-ends ... so I'm really not sure why you had issues in
the first place.


Cheers,
Tink
 
Old 03-27-2008, 12:15 PM   #5
haiders
Member
 
Registered: Sep 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Yes, I'm glad I didn't have to make changes on the server side!.
I'm really not a developer so I'm not sure why they needed to have the DOS format. I assume they had valid reason. I will ask them though. Thanks for your help w/this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN - File name too long unkie888 Linux - Software 2 06-17-2013 04:29 PM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 06:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 06:31 AM
svn ffmpeg: No man file?? andrew.46 Slackware 6 02-23-2008 07:04 PM
Howto convert bin file to a executable DOS file lilzz Linux - Newbie 5 08-04-2006 01:03 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration