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

Re: svn lets you delete the trunk?

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-07-07 23:08:19 CEST

On 7-Jul-05, at 5:00 PM, Amol Karnik wrote:

> thanks for the quick reply Peter.
> You suggested checking out a previous version...but since i cant
> even browse the trunk, i cant even query the revision numbers
> there....so how do i checkout a previous version?

svn co -rXXX url-to-trunk

where XXX is the last rev that had the trunk. (Use svn log to find
the rev num that you deleted the trunk in)

I think you should also be able to do this with a URL to URL copy (no
WC)

> and assuming i'm able to do that, i would still lose one revision
> right?

No, you gain one revision when you check the trunk back in.

Are you afraid that you will run out of numbers? :-)

If you want to, you can also dump and restore the repository right up
to the rev before you deleted trunk... that way it is exactly as it
was before, with no record of the delete ever happening.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 7 23:11:21 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.