You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Amol Karnik <am...@coventor.com> on 2005/07/07 20:51:11 UTC

svn lets you delete the trunk?

hi,

i've setup a test repository with svn to test things out before actually 
moving our entire codebase to svn.
My setup uses svn1.2 and apache 2.0 with https access.

Using the repository browser in svn i browsed to the repository and 
right clicked on "trunk" and selected "delete".
To my astonishment, i was actually able to delete my trunk and now my 
trunk is gone. I have my branches and tags.

So two questions:

1. how do i get my trunk (or any branch) back after its been deleted
2. how do i prevent this from happening?

thanks!

amol





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn lets you delete the trunk?

Posted by Lieven Govaerts <lg...@mobsol.be>.
You saw the trunk, you saw the delete button, and you though ' why not '? :)

The trunk is just a folder, if you delete it in revision X, just undo it in
transaction X+1, 
no problem at all. You can't lose data in subversion, that's the nice part
of it.
I don't think you can prevent this behaviour.

There is a chapter in the SVN book concerning the ressurection of deleted
items:
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.commonuses.html#svn.b
ranchmerge.commonuses.resurrect

Lieven. 

-----Original Message-----
From: Amol Karnik [mailto:amol@coventor.com] 
Sent: donderdag 7 juli 2005 22:51
To: users@subversion.tigris.org
Subject: svn lets you delete the trunk?

hi,

i've setup a test repository with svn to test things out before actually
moving our entire codebase to svn.
My setup uses svn1.2 and apache 2.0 with https access.

Using the repository browser in svn i browsed to the repository and right
clicked on "trunk" and selected "delete".
To my astonishment, i was actually able to delete my trunk and now my trunk
is gone. I have my branches and tags.

So two questions:

1. how do i get my trunk (or any branch) back after its been deleted 2. how
do i prevent this from happening?

thanks!

amol





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 6/07/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 6/07/2005
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org