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

Re: revision confusion

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-05-12 18:58:25 CEST

Dirk Schenkewitz said the following on 2005-05-12 11:32:
> Wouldn't that put *everything* to rXXX, thereby throwing away the
> non-buggy changes of some files, too?
>
> Could it be done by 'touch'ing all files in that directory and the
> doing a commit?

What you want is a reverse merge, undoing a particular commit.

If the bug was introduced in revision 80, you need to merge 80:79, such
as this:

svn merge -r80:79 URL_TO_REPOS/project/dir

You could also reverse merge changes to a specific file. See "Undoing
Changes" in the Subversion book:

http://svnbook.red-bean.com/en/1.1/ch04s04.html#svn-ch-4-sect-4.2

Hope that helps,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 12 19:43:51 2005

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

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