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

Re: cancelling revisions

From: Ryan Ernst <rernst-lists_at_warflame.ca>
Date: 2005-08-25 15:05:45 CEST

<quote who="Zouari Fourat">
> svn delete url -m "delete garbage."
> with no revision number precision ?

I think a bit of explanation is in order.

The idea is that you can svn delete the top of the current tree, then copy
revision 36 to replace it, preserving the file history. Subversion lets
you do this.

If you're talking about removing revisions entirely, that's another
problem. With what's being suggested here, revisions 37-41 will still
exist in the repository, but they will be hidden and you'll never see them
again except if you were to export some revision in that range.

> On 8/25/05, Carsten Koch <Carsten.Koch@icem.com> wrote:
>> Zouari Fourat wrote:
>> > Hello,
>> > Am new to svn and here's a usecase that i dont see how to resolve it :
>> > My yougest version is 41, i want to cancel all revisions since
>> > revision 36 so i get revision 42 without any changes from revisions
>> > 37/38/39/40/41
>> > how to do that
>> svn delete url -m "delete garbage."
>> svn copy -r 36 url url -m "restore r36 state."

Ryan Ernst
Blog  : http://shadowlife.warflame.ca
Photos: http://warflame.ca/gallery
"Look like the innocent flower, but be the serpent under 't."
   - Shakespeare, Macbeth
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 25 15:07:38 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.