You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Guther <An...@markettools.com> on 2006/05/31 13:39:17 UTC

Best practices to restore a deleted trunk

Hi,

We have organized our SVN repository by having different products and
then each product has sub folders named trunk, branches, and tags.

Yesterday late afternoon a user managed to delete the complete trunk of
one of the products.  At this point of time I have not spoken to the
person and no information how that could happen.

The last revision for the trunk is 2012, the SVN itself is now at
revision 2020.

My question is:  What is the best practice to restore the trunk?

Should I use the svn copy command to copy the old revision into the head
or should I check out the product with remaining sub folders tags and
branches and then copy my local revision 2012 into it and then check it
in again?

Thanks in advance for any advice or suggestion,

Andreas

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


Re: Best practices to restore a deleted trunk

Posted by Andy Levy <an...@gmail.com>.
On 5/31/06, Andreas Guther <An...@markettools.com> wrote:
> We have organized our SVN repository by having different products and
> then each product has sub folders named trunk, branches, and tags.
>
> Yesterday late afternoon a user managed to delete the complete trunk of
> one of the products.  At this point of time I have not spoken to the
> person and no information how that could happen.
>
> The last revision for the trunk is 2012, the SVN itself is now at
> revision 2020.
>
> My question is:  What is the best practice to restore the trunk?
>
> Should I use the svn copy command to copy the old revision into the head
> or should I check out the product with remaining sub folders tags and
> branches and then copy my local revision 2012 into it and then check it
> in again?

http://svnbook.red-bean.com/nightly/en/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.resurrect

If that link linebreaks, use http://tinyurl.com/nh8ff (points at the same place)

Or, the section above, "Undoing Changes"

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

Re: Best practices to restore a deleted trunk

Posted by Peter Werner <l....@vasas.no-ip.org>.
> Should I use the svn copy command to copy the old revision into the head

Yes. svn cp -r 2012 URL.../<project>/trunk URL../<project>

Peter

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