[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: what's the best practice to revert merge some of files?

From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 17 Dec 2009 10:00:08 -0500

> Like my work copy directory are math, util.
> In math directory I commit 10 files to add a feature, and now r100,
> then I found in the commit 3 files were
> totally wrong, I should revert changes of these 3 files, What's the
> best practice?

Well, you can't really do a reverse merge since that will reverse everything.

(quick terminology note, "revert" in svn speak means removing changes that are in your local working copy.)

Two options...

1. Do a reverse merge and then revert all the files except the 3 in question and the commit.

2. Do an Update to revision 99. (the revisions before your commit). Copy the 3 files to a temp folder. Update your working copy. Put the 3 files from rev99 back into your working copy. Then commit.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-17 16:00:21 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.