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 254574 - 'Revert Modifications' should allow to select modifications to revert
Summary: 'Revert Modifications' should allow to select modifications to revert
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-08-21 06:36 UTC by SebastianZ
Modified: 2015-08-21 09:37 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-08-21 06:36:30 UTC
The 'Revert Modifications' dialog should allow to select the files and properties, which shall be reverted.

This is especially needed if you want to revert a file or folder deletion and only want to revert that change and not any other change you've made.

The implementation would show a tree of all modifications. The options 'Recursively' and 'Remove newly added Files and Folders' could still be available, though then checking/unchecking all related items in the tree. (And maybe they could then also be renamed to 'Select all' and 'Select unversioned items' or something similar.)

This feature should actually be available for all VCSs, though I needed to select a specific component. If this needs to be filed separately for each VCS, please let me know and I'll file a bug for each one.

Also, this feature would be useful for all three types of revert actions, 'Revert Local Changes', 'Revert Modifications from Single Commit' and 'Revert Modifications from Previous Commits', though I guess the most often used option is the first one. So that one should be tackled first.
If there should be an issue for each option, let me know and I'll file a bug for each one.

Sebastian
Comment 1 Ondrej Vrabec 2015-08-21 06:40:56 UTC
You know you can always select the single file/folder and run Subversion -> Revert Modifications just for this file, right? Or you can run Subversion -> Show Changes, choose the files you want to revert from the list and run Revert Modifications from the popup?
Comment 2 SebastianZ 2015-08-21 09:37:00 UTC
Yes, for single changed files the context menu option Subversion > Revert Modifications... works just fine.

Though if I want to revert some particular files in a folder, the context menu option doesn't work, because you can't see what you are actually reverting.

And Subversion > Show Changes only allows to revert one file at a time, which is somewhat cumbersome.

Sebastian