Community
Participate
Working Groups
I20110114-1330, was OK in I20110104-0920, probably broken by bug 333812 The CVS Commit dialog now commits comment "<Click here to enter a commit comment>" when you just click "Finish" without entering a comment. It should ask and (if the user proceeds) commit the empty message as before.
My fault, I'll try to fix asap.
I can take this one.
Fixed in CommitCommentArea.java rev. 1.55. Available in builds >= N20110120-2000. Tomek, please verify the fix if you have a chance.
Created attachment 187173 [details] Fix
The fix is good for the scenario in comment 0 but if one explicitly selects the item from the list then it is not yet 100% working.
(In reply to comment #5) > The fix is good for the scenario in comment 0 but if one explicitly selects the > item from the list then it is not yet 100% working. FALSE ALARM! This happened because there was already a wrong entry in the commit history.
.
I think I've found one case when the fix doesn't work: 1. Go to Team > CVS > Comment Templates in Preferences, you can go there directly from the commit dialog clicking on the link below comment area 2. Create a new, empty template: do not enter anything when "Enter Comment Template" dialog show up, just press Ok 3. Modify a file and do Team > Commit 4. On the "Commit Files" dialog. choose the newly created template from the combo below comment area. It will be visible in the list as "Template:". 5. Press Finish => You're not asked if you want to commit with an empty message, but I guess this is fine because you've explicitly choose a blank template => The problem is that the comment went with "<Click here to enter a commit comment>" message
The above problem has nothing to do with the fix. I was able to reproduce it with CommitCommentArea.java from I20110104-0800 (1.53), so neither bug 333812 nor bug 334756 (this one) have introduced it.
(In reply to comment #9) > The above problem has nothing to do with the fix. I was able to reproduce it > with CommitCommentArea.java from I20110104-0800 (1.53), I assume you filed a bug for that ;-). Bug #?
Of course I did, it's bug 335177. I don't understand why the bug # is so high ;) Other then the thing from comment 8, found in N20110120-200, the fix looks good. Marking as verified. Thanks Dani.
This is not fixed in I20110124-1800. Removing VERIFIED state so that we can verify it in an I-build.
The fix will be available in I20110125-2000, sorry for not tagging it for any I-build yesterday.
Verified in I20110125-2012.