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

Re: undo a commit?

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-04-11 18:29:22 CEST

On Fri, Apr 11, 2003 at 09:59:10AM -0500, Ben Collins-Sussman wrote:
> 1. undo a commit: use 'svn merge' in reverse. read chapter 4 of the
> book, section 4 in particular.

note that when you 'undo' a commit in this way, you're not actually
deleting history from the repository, but rather adding to it. [your
commit is still there in rX, reverted in r(X+1) ].

> 2. change a log message: use 'svn propedit --revprop -rN svn:log'.
> Look at the side-box of chapter 6, section 2.2.

OTOH, when you change a log message this way, the old log message is
actually replaced with the new one, no history involved.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 18:24:11 2003

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

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