New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to reset to remote version #189

Closed
svogt opened this Issue Feb 5, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@svogt
Collaborator

svogt commented Feb 5, 2014

In case of Git, this would be a hard reset to the remote branch,
in CVS / SVN one could use that to overwrite uncommited local changes

@jutzig jutzig closed this in 2723846 Feb 5, 2014

@jutzig

This comment has been minimized.

Show comment
Hide comment
@jutzig

jutzig Feb 5, 2014

Owner

Please note that this commit contains an API change and the CVS/SVN plugins need to be updated to 1.1.0-SNAPSHOT to work properly.
I should also mention that this behaves somewhat differently depending on the Team Provider.

  • For Git, it reverts to HEAD in refs/remotes/origin/[branch] discarding any local commits and untracked files
  • For SVN it is a local operation. All modifications are reverted and all remaining untracked files are deleted
  • For CVS it's a mess that does an update -C (clean working copy)
Owner

jutzig commented Feb 5, 2014

Please note that this commit contains an API change and the CVS/SVN plugins need to be updated to 1.1.0-SNAPSHOT to work properly.
I should also mention that this behaves somewhat differently depending on the Team Provider.

  • For Git, it reverts to HEAD in refs/remotes/origin/[branch] discarding any local commits and untracked files
  • For SVN it is a local operation. All modifications are reverted and all remaining untracked files are deleted
  • For CVS it's a mess that does an update -C (clean working copy)

@jutzig jutzig added this to the 1.0.2 milestone Feb 5, 2014

@jutzig jutzig self-assigned this Feb 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment