If I have done some local changes to Abc.java and then I go for ‘Update to Head’ for the same file, it does not undo the changes. Why?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suppose you’re using SVN. If so, then that’s what it’s supposed to do. update will try to merge the changes from the repo to your working copy, so that you may then test your changes with the latest version from the repo, and commit them once you have verified everything is OK.
If you want to undo local changes, you need to do a revert.
Read the SVN book, it’s very well written and explains everything clearly: http://svnbook.red-bean.com/