Community
Participate
Working Groups
I20090922-0800 Showing diffs in CVS Commit dialog has been added in bug 166333. As stated in bug 166333, comment 3, using a compare viewer could make the dialog a little bit to busy, mainly because content changes are displayed below the files. The patch for bug 166333 solves this issue by adding a pane for displaying diffs to the right of the comment and files. This is fine, but missing couple of things we could get for free when using a compare viewer: * structure compare panes * switching content viewers (e.g. from Java Source Compare to Text Compare) * labels for compare participants: left, right, ancestor * less code This enhancement is about to make this happen, i.e. use a compare viewer to display both the files and content changes, but keep the layout we currently have in the dialog (diffs on the right-hand side). This would probably require some (API?) changes in CompareEditorInput, because CompareEditorInput.createContents(Composite) even though it can be overridden gives little space for layout changes.
Created attachment 148112 [details] Fix v01 Still need to figure out how to add title to the files pane, it should say "Changes". Other than that looks and works the same, but I will test it more next week.
Created attachment 148113 [details] mylyn/context/zip
Created attachment 148236 [details] Fix v02 Missing "Changes" title issue fixed.
Released to HEAD, but filed bug 290506 and bug 290811 in the meantime. Added two API filters for CommitWizardCommitPage at the same time. Available in builds >N20090928-2000.