Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CRLF in CVS commit message
CRLF in CVS commit message [message #142210] Fri, 10 October 2003 12:57 Go to next message
Eclipse UserFriend
Originally posted by: pwwisnes.magenta.com

I've recently starting working for a company where I am the first person
on the team using Eclipse with their existing CVS archives. We've noticed
that all of my CVS commit messages come out doublespaced in the log (but
the
source code is fine). I've never had this occur to me on any other project
I've worked on.

I'm running Eclipse on a Widows XP box and the CVS repository is on a
Linux box.
I've tried changed the system newline property to just a newline but it
had no
effect on the commit messages.

Any ideas?
Re: CRLF in CVS commit message [message #142320 is a reply to message #142210] Fri, 10 October 2003 15:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Michael_Valenta.oti.com

We work with this combination all the time and have not noticed a
problem. What CVS server version and Eclipse version are you using?

Michael

Paul Wisneskey wrote:

> I've recently starting working for a company where I am the first person
> on the team using Eclipse with their existing CVS archives. We've noticed
> that all of my CVS commit messages come out doublespaced in the log (but
> the
> source code is fine). I've never had this occur to me on any other project
> I've worked on.
>
> I'm running Eclipse on a Widows XP box and the CVS repository is on a
> Linux box.
> I've tried changed the system newline property to just a newline but it
> had no
> effect on the commit messages.
>
> Any ideas?
>
>
Re: CRLF in CVS commit message [message #142499 is a reply to message #142210] Fri, 10 October 2003 22:50 Go to previous messageGo to next message
Luke Usherwood is currently offline Luke UsherwoodFriend
Messages: 12
Registered: July 2009
Junior Member
I've had the same problem.

Since you posted the question I did a quick experiment. I created 2
text files in Windows. Then in cygwin I checked one of them into CVS
using the other one as the log entry.

The file that was being checked-in had it's CRLF characters correctly
changed to LF - however the log message that was inserted still had CRLF
characters.

Therefore, it looks like the cvs command is also doing the wrong thing,
not just eclipse.

I'm running CVS version 1.11.6 in Windows/Cygwin, and version 1.11.p1 on
Linux (so it looks like we're long overdue for an upgrade there!)

Am interested in other ppls experiences / any tips.



Also: Regarding this comment:

> I've tried changed the system newline property to just a newline but it
> had no effect on the commit messages.

Are you referring to the 'tip' in the Eclipse cvs-FAQ that says you can
run eclipse like this:

eclipse.exe -vmargs -Dline.separator=\n

WARNING: Don't do this!

I'll post another thread explaining why, because this is a different
topic I wanted to raise.

Luke
Re: CRLF in CVS commit message [message #144076 is a reply to message #142499] Tue, 14 October 2003 18:53 Go to previous message
Eclipse UserFriend
Originally posted by: Michael_Valenta.oti.com

Please log a bug report against Platform VCM for this.

Luke Usherwood wrote:

>
> I've had the same problem.
>
> Since you posted the question I did a quick experiment. I created 2
> text files in Windows. Then in cygwin I checked one of them into CVS
> using the other one as the log entry.
>
> The file that was being checked-in had it's CRLF characters correctly
> changed to LF - however the log message that was inserted still had CRLF
> characters.
>
> Therefore, it looks like the cvs command is also doing the wrong thing,
> not just eclipse.
>
> I'm running CVS version 1.11.6 in Windows/Cygwin, and version 1.11.p1 on
> Linux (so it looks like we're long overdue for an upgrade there!)
>
> Am interested in other ppls experiences / any tips.
>
>
>
> Also: Regarding this comment:
>
>> I've tried changed the system newline property to just a newline but it
>> had no effect on the commit messages.
>
>
> Are you referring to the 'tip' in the Eclipse cvs-FAQ that says you can
> run eclipse like this:
>
> eclipse.exe -vmargs -Dline.separator=\n
>
> WARNING: Don't do this!
>
> I'll post another thread explaining why, because this is a different
> topic I wanted to raise.
>
> Luke
>
Previous Topic:switching the active window event
Next Topic:CVS Rename of Project didn't seem to rename it in CVS?
Goto Forum:
  


Current Time: Tue Apr 16 08:20:04 GMT 2024

Powered by FUDForum. Page generated in 0.05340 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top