You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Subversion <ma...@gmx.net> on 2003/04/11 14:39:37 UTC
undo a commit?
hi
i have a question.
is there a possibillity to undo a commit or to change the commited message,
after the commit was sent?
greetz
achim
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: undo a commit?
Posted by Ben Collins-Sussman <su...@collab.net>.
Brian Denny <br...@briandenny.net> writes:
> > 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.
Also, you can also run 'svnadmin setlog repos -rN FILE', right on the
server.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: undo a commit?
Posted by Brian Denny <br...@briandenny.net>.
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.
-brian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: undo a commit?
Posted by Ben Collins-Sussman <su...@collab.net>.
"Subversion" <ma...@gmx.net> writes:
> hi
>
> i have a question.
>
> is there a possibillity to undo a commit or to change the commited message,
> after the commit was sent?
1. undo a commit: use 'svn merge' in reverse. read chapter 4 of the
book, section 4 in particular.
2. change a log message: use 'svn propedit --revprop -rN svn:log'.
Look at the side-box of chapter 6, section 2.2.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org