I'm trying to make one of my addon on wowace using the svn repo.
I've no problem when I checkout but when I try to commit, I got errors with the end of line style.
I looked for a solution on internet so I edit my ~/.subversion/config to auto-set the eol-style for lua and toc files. I tried with native but I got errors with all the files then I tried with CRLF and I only got errors with two files.
If it's set to CRLF, my two files have their eol-style not recognized so when I try to add or to commit I got errors.
Can someone help me to find a solution to make the eol-style recognized or another way to update on wowace ?
gedit is not a real text editor Torhal. Every time i copy and paste something in from anyone's files and then try to commit. I always get a inconsistent line ending erorr. I have to open it up in emacs and edit the lines that have the f'ed up "^M" on the end. Then it works right.
I'm using gedit on openSuse 11.1, but nevermind I finally used git and that was perfect
Since you are using openSuse I assume you can handle using the command line. With svn you just need to run 'svn propset svn:eol-style native FILE' for every .lua .xml .toc and possible other text files in the addon until the commit stops erroring. But since you are using git now I highly recommend sticking with git over svn.
gedit is not a real text editor Torhal. Every time i copy and paste something in from anyone's files and then try to commit. I always get a inconsistent line ending erorr. I have to open it up in emacs and edit the lines that have the f'ed up "^M" on the end. Then it works right.
I have the same kind of behavior when I copy something out of GEdit. However this does not happen so often so GEdit fits 99% of my needs. For line endings, I'm using the tofrodos package that provides dos2unix and unix2dos commands, that can be used to tidy up things.
wondering about that for a while now.. thx for that insight. I was sure there where tools out there that fix this up with out having to be OCD on a file in emacs.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've no problem when I checkout but when I try to commit, I got errors with the end of line style.
I looked for a solution on internet so I edit my ~/.subversion/config to auto-set the eol-style for lua and toc files. I tried with native but I got errors with all the files then I tried with CRLF and I only got errors with two files.
If it's set to CRLF, my two files have their eol-style not recognized so when I try to add or to commit I got errors.
Can someone help me to find a solution to make the eol-style recognized or another way to update on wowace ?
I'd recommend notepad++ it's a fav of mine.
however, i'd post the exact error message your getting when trying to commit.
All I can so is:
/facepalm
/shrug orionshock
Since you are using openSuse I assume you can handle using the command line. With svn you just need to run 'svn propset svn:eol-style native FILE' for every .lua .xml .toc and possible other text files in the addon until the commit stops erroring. But since you are using git now I highly recommend sticking with git over svn.
I have the same kind of behavior when I copy something out of GEdit. However this does not happen so often so GEdit fits 99% of my needs. For line endings, I'm using the tofrodos package that provides dos2unix and unix2dos commands, that can be used to tidy up things.