cvs commit changing line separator

已回答

I'm not sure if this is a problem with intellij or cvs but I'm seeing something that started in 876 and is still present in 887. I'm thinking this might just be a configuration issue on my part.

cvs server is running on freebsd. Client is win2k. Files are stored with unix line separators. When Intellij saves files after making a change, the file is still stored locally with unix line separators. After doing a commit of this file however, the document is now stored locally with dos line separators. Doing a "Compare with Repository" from within Intellij shows the files are identical. Doing a "cvs diff file.java" from a shell shows the entire file is diff due to the mismatch in line separators. If i do a "cvs update -C file.java" I can get it back to unix line separators until next time it is commited.

Any ideas?

thanks,
Nathan

1
Avatar
Permanently deleted user

It is the bug of the current cvs integration implementation. Please post bug
request into tracker.

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Nathan Wykes" <no_mail@jetbrains.com> wrote in message
news:32883399.1060193474839.JavaMail.itn@is.intellij.net...

I'm not sure if this is a problem with intellij or cvs but I'm seeing

something that started in 876 and is still present in 887. I'm thinking
this might just be a configuration issue on my part.
>

cvs server is running on freebsd. Client is win2k. Files are stored with

unix line separators. When Intellij saves files after making a change, the
file is still stored locally with unix line separators. After doing a
commit of this file however, the document is now stored locally with dos
line separators. Doing a "Compare with Repository" from within Intellij
shows the files are identical. Doing a "cvs diff file.java" from a shell
shows the entire file is diff due to the mismatch in line separators. If i
do a "cvs update -C file.java" I can get it back to unix line separators
until next time it is commited.
>

Any ideas?

>

thanks,
Nathan



0

Seems, it is still happening (2017.3).

Or not... I have another case, because the client is Linux, too. Just seemed similar, at first.

0

Hello Jānis,

Could you please describe your issue? Does it differ fron initial one only in client OS? If so, please report an issue on YouTrack: http://youtrack.jetbrains.com/issues/IDEA attaching idea.log ("Help | Show Log in...") after restarting IDE and reproducing the issue.

 

0

请先登录再写评论。