问题
My coworker has checked in a few files that I know are wrong. I would like to be able to replace them and commit my local older copies back to the repo. However, SVN doesn't allow me to commit these files without me running update.
I am worried that this may cause automatic merge and messe up my local "good" copies. I
Is there anyway that I can commit my versions without updating? Non-automatic merge is highly discouraged. What is the alternative?
回答1:
Copy your modified files off to the side, update, copy your modified files back, commit.
回答2:
You can connect to the SVN using Turtoise and carefully remove what you want.
回答3:
If you have the right rights you can go in and remove the invalid files from the repo. Check out the command line docs here.
来源:https://stackoverflow.com/questions/10921057/svn-commit-without-update