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

Re: Is it possible to delete last revision?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-09 23:59:30 CET

On Dec 9, 2004, at 4:41 PM, Zia Syed wrote:

> Hi,
>
> I'm new to subversion and would like to know if it is possible to
> delete
> the last revision from the repository? I've mistakenly commited some
> code with known problems (my stupidity) in the repository, and would
> like to delete it now just to keep the repository clean with last
> stable
> version. If its not possible then I guess I will have to make another
> revision.

You can't remove revisions. But you can commit a new revision that
'undoes' the change. Read about it in chapter 4, 'undoing changes'.

>
> Also, is it possible to write comments to revisions after commit?
>

You can edit any commit log-message by running

    svn propedit --revprop -r REVNUM svn:log

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 10 03:57:14 2004

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.