[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: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-07-08 15:13:00 CEST

Scott Palmer wrote:

> On 7-Jul-05, at 5:00 PM, Amol Karnik wrote:
> 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)

Yep, and this is probably the better way.
svn cp url-to-trunk@XXX url-to-trunk

That way the restored trunk is an add-with-history, and log/blame/etc will
still follow back into the past.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 8 15:16:54 2005

This is an archived mail posted to the Subversion Users mailing list.