Ari
Ari

Reputation: 7556

SVN Commit without update

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?

Upvotes: 16

Views: 8375

Answers (3)

AlG
AlG

Reputation: 15157

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.

Upvotes: 2

Samson
Samson

Reputation: 2821

You can connect to the SVN using Turtoise and carefully remove what you want.

Upvotes: 1

Ernest Friedman-Hill
Ernest Friedman-Hill

Reputation: 81674

Copy your modified files off to the side, update, copy your modified files back, commit.

Upvotes: 24

Related Questions