Reputation: 1486
I'm trying to understand SVN coming from git. I have performed an update but one of my files still has an exclamation mark.
Is the exclamation mark there because I changed it and it's different from the file on the repository? And I want to overwrite the working copy and for that file to be the version at the head of the repository, how can I do that in SVN, either with the command line or tortoisesvn
?
I'm following this tutorial but it doesn't mention this.
Upvotes: 0
Views: 400
Reputation: 30662
svn update
, Subversion does not revert local changes. It merges modifications incoming from the repository with your local modifications when possible (or raises a conflict which you need to solve manually). Running svn update
will never remove your local uncommitted modifications.svn revert
or a corresponding Revert command of TortoiseSVN. Note that this operation is irreversible - use svn revert
with caution!
Upvotes: 2