This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255326 - Improve file revision diff UX
Summary: Improve file revision diff UX
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 11:03 UTC by SebastianZ
Modified: 2015-09-16 18:26 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SebastianZ 2015-09-16 11:03:58 UTC
Currently, if you want to compare the current working copy of a file with older revisions (you don't know the numbers of) in trunk, you have to follow these steps:

1. Right-click the file
2. Choose 'Subversion' > 'Diff' > 'Diff To...' from the context menu
3. Select the repository file in trunk within the 'Select Tree To Diff' dialog (may not be needed when bug 255314 is fixed)
4. Click 'Search...' within the 'Select Tree To Diff' dialog besides the repository revision
5. Click on 'List' within the 'Search Revisions' dialog
6. Select a revision
7. Click 'OK'
8. Click 'Select'

This process is pretty cumbersome for just comparing two revisions with each other.

For example the process in Eclipse with installed Subclipse looks like this:
1. Right-click the file
2. Choose 'Compare With' > 'Revision...' from the context menu
3. Double-click a revision within the comparision view

If you then want to change the revision you're comparing to in NetBeans, you need to do this:
1. Click the 'to' list within the comparison view
2. Click there on 'Select...'
3. Select the repository file in trunk within the 'Select Tree To Diff' dialog (may not be needed when bug 255314 is fixed)
4. Click 'Search...' within the 'Select Tree To Diff' dialog besides the repository revision
5. Click on 'List' within the 'Search Revisions' dialog
6. Select a revision
7. Click 'OK'
8. Click 'Select'

In Eclipse:
1. Double-click a revision within the comparision view


So I suggest to integrate the revision search into the comparison view and do an automatic search when the comparison view is opened.

This may be split into several smaller issues if needed.

Sebastian
Comment 1 SebastianZ 2015-09-16 18:26:31 UTC
Furthermore there could be two context menu options, one for comparing against a branch or tag and one for comparing against a revision, which would make step three obsolete.

Sebastian