Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 148396

Summary: [Wizards] rcstemplate text displayed but removed from cvs commit comment
Product: [Eclipse Project] Platform Reporter: Mark F <segfalt>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P5 Keywords: helpwanted
Version: 3.1.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Mark F CLA 2006-06-23 11:13:55 EDT
When using an rcstemplate file, a "Team"-->"Commit..." correctly displays the template but then removes the template text from the cvs commit comment.  Only the text appended to the template is used in the commit.

My Environment:
Platform: SuSe Linux 9.3 (SuSe Kernel 2.6.11.4-20a-default)
J2SDK: 1.4.2_12
CVS Server version: 1.12.11
CVS Auth Method: ext (External SSH2) not extssh
Eclipse Version: 3.1.2, Build: M20060118-1600
Plugin Versions: CVS Team provider core 3.1.1, CVS Team provider UI 3.1.1
Also noticed on: Eclipse 3.2.0 RC7 on the Windows XP SP2 platform

To Reproduce:

rcstemplate file (1 line):
#### rcstemplate file start ####
BugID:
#### rcstemplate file end   ####

In Eclipse, on commit, "BugID:" is displayed and " 839" is entered after the template text.
#### Commit Files Comment Text Start ####
BugID: 839
#### Commit Files Comment Text End   ####

On "Finish" the following is cvs commit command is displayed in the eclipse cvs debug output:
CMD> cvs ci -m " 839" -l "/test-project/testfile.java"

The expected output would be:
CMD> cvs ci -m "BugID: 839" -l "/test-project/testfile.java"

Possible workaround:
Modify the rcstemplate to have an extra character ( eg "BugID:x" ).  On commit, delete the extra character and replace with the desired text (eg "BugID: 839" ).  Eclpise will use the entire string if the template text is modified in any way.

Thanks
Mark
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:08:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-12-30 12:10:08 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.