As in ADStudio 14 Dev 10 the Revert and Reset labelings/actions seem to be mixed.
If there exists a newly added file or a modified versioned file under the Git repo, and then if one right-clicks on it in the Files or Projects panel, goes to Version Control > Revert, the Revert window opens. Selecting the new/modified file and clicking Revert, removes the added file from the stage or cancels the modifications. This behavior is different than that of git revert
--- to which one might think at first that this action relates to.
If being in the Browse Repository window, the upper toolbar shows a Reset button which opens the same as above Revert window.
The suggestion would be to use a consistent labeling, in this case Reset seems to be more appropriate as this action mimics in a way the git reset
command.
Thanks for pointing this out; reset/revert functionality was in my list of items to review.
Our support of reset/revert is based on the git reset
command and will rename the labels to indicate the same. And I am aware there are some issues with revert functionality - will have a closer look.
Btw, we do not support git revert
functionality.
Made changes to the label to consistently use the term reset. We have revamped the reset functionality as a whole. Also added support for discarding added and untracked changes.
Made changes to the label to consistently use the term reset. We have revamped the reset functionality as a whole. Also added support for discarding added and untracked changes.
Verified using ADStudio 14 Dev 13, now the Reset label is used, the action discards selected-files' changes from the staging area & working tree.
Closed.
Verified using ADStudio 14 Dev 13, now the Reset label is used, the action discards selected-files' changes from the staging area & working tree.
Closed.
Issue #8346 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 31391 |
No time estimate |
1 issue link |
relates to #8307
Issue #8307Revert changes fails when there are many changes to revert |
Thanks for pointing this out; reset/revert functionality was in my list of items to review.
Our support of reset/revert is based on the
git reset
command and will rename the labels to indicate the same. And I am aware there are some issues with revert functionality - will have a closer look.Btw, we do not support
git revert
functionality.