Bug 333049 - Context menu for Revert/Reset functionality at file level.
Summary: Context menu for Revert/Reset functionality at file level.
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on: 338701
Blocks:
  Show dependency tree
 
Reported: 2010-12-21 20:01 EST by Miles Parker CLA
Modified: 2014-04-25 13:53 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2010-12-21 20:01:09 EST
The non-distributed Eclipse VCSs support quick revert back to original repository file state. I'm not sure if "Reset" is exactly the same as that functionality, but in any case it seems that you can only do that at the project level. It would be really helpful to be able to do that at the file and folder level as well.
Comment 1 Miles Parker CLA 2011-09-23 14:16:13 EDT
Totally. It's really annoying not to be able to simply "revert" a given project, sub-folder or file rather than -- accidently, urp.. -- everything in the repos. I think this is a git limitation/'feature' though..? You can of course do this for an individual file through history, but to do it for a directory is a major pain.
Comment 2 Miles Parker CLA 2011-09-23 14:19:38 EDT
OMG, I clicked submit and realized that I was wholeheartedly agreeing with.. myself. Better than arguing with myself, I guess.
Comment 3 Kevin Sawicki CLA 2011-09-23 14:30:52 EDT
There are several file level "Replace With" actions such as "Head Revision" which should be similar to a revert in other version control systems.
Comment 4 Dani Megert CLA 2011-09-23 14:34:17 EDT
(In reply to comment #3)
> There are several file level "Replace With" actions such as "Head Revision"
> which should be similar to a revert in other version control systems.

Not really. Once the repo is in "conflict" state those menu items are not available. If you make them available, then that's a good fix.
Comment 5 Miles Parker CLA 2011-09-23 14:56:25 EDT
(In reply to comment #4)
> (In reply to comment #3)
> > There are several file level "Replace With" actions such as "Head Revision"
> > which should be similar to a revert in other version control systems.
> 
> Not really. Once the repo is in "conflict" state those menu items are not
> available. If you make them available, then that's a good fix.

Right, and beyond that, it's not really clear especially to newbies, what the "head revision" is. What is really needed is a more fine-grained capability that does exactly the same thing that reset does, at least as far as the user is concerned. "I screwed up everything in this directory, please just put it back the way it was".
Comment 6 James Cowan CLA 2014-04-24 04:48:31 EDT
this would be a great feature. Eclipse subversion plugin has a revert context menu; tortoisegit etc.