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! |
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 |
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. |
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 |
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. |
All times are GMT -5. The time now is 11:11 PM. |