Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 45642 - $Log$ keyword substitution doesn't prefix new lines
Summary: $Log$ keyword substitution doesn't prefix new lines
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 minor with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 114641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-27 19:10 EST by Stephen Coy CLA
Modified: 2006-06-15 16:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Coy CLA 2003-10-27 19:10:18 EST
We use a comment block at the bottom of source files to provide a quick and dirty change history:

/*
 *   $Log$
 */

Multiline comments should come out something like:

/*
 *   $Log: Main.java,v $
 *   Revision 1.2  2001/11/15 11:13:49  steve
 *   Added support for timed shutdown and a primitive status request.
 *   Cleaned up and added some more comments.
 *
 *   Revision 1.1.1.1  2001/10/30 04:26:01  steve
 *   Initial import
 */

but when checking in using Eclipse we get:

/*
 *   $Log: Main.java,v $
 *   Revision 1.2  2001/11/15 11:13:49  steve
 *   Added support for timed shutdown and a primitive status request.
Cleaned up and added some more comments.
 *
 *   Revision 1.1.1.1  2001/10/30 04:26:01  steve
 *   Initial import
 */

It's minor, but irritatating nevertheless.
Comment 1 Andre Weinand CLA 2003-10-28 03:02:49 EST
Does not seem to be Mac related.
Setting Platform and OS to All.
Comment 2 Michael Valenta CLA 2003-10-31 16:29:34 EST
I thought we had a bug for this already but I can't find it. I think the problem
is that we are sending the commit comment to the server with the platform line
endings.
Comment 3 Michael Valenta CLA 2003-11-10 09:42:43 EST

*** This bug has been marked as a duplicate of 46326 ***
Comment 4 Stephen Coy CLA 2004-06-18 01:11:55 EDT
I am reopening this because bug 46326 was allegedly fixed in 3.0M9, but I am still seeing this problem 
in 3.0RC2.
Comment 5 Jean-Michel Lemieux CLA 2004-07-05 10:16:36 EDT
Removing from milestone.
Comment 6 Michael Valenta CLA 2005-11-02 14:54:55 EST
*** Bug 114641 has been marked as a duplicate of this bug. ***
Comment 7 Michael Valenta CLA 2006-06-15 16:09:21 EDT
The server does the expansion so this is a CVS problem, not an Eclipse problem.