Bryan

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  37 Posts :: 3 Stories :: 24 Comments :: 0 Trackbacks

My project requires me to export excel file as tab-delimited txt file and used as the source for java, when I try to commit it to the svn, the error always occur:

SVN: "Inconsistent line ending style"

This error annoys me and for one whole morning , I could not know what makes it happen, and finally find that It's the text file problem,The file has two different line ending styles which I check by the tool  notepad++ ,by using this tool to convert to dos/unix format, then I set the property of the file svn:eol-style : native 
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.file-portability.html

and then I am able to commit the file.But if lots of files are the same like this, what can I do?

posted on 2011-03-15 16:27 Life is no respector of any genius. 阅读(1693) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: