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

Re: how to access deleted file/directory?

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-06-15 22:40:50 CEST

Just to clarify, you did this:

$ svn copy https://svn/repros/foo/component-2/trunk
http://myserver/foo/tags/build-3

Then, sometime later you did this:

$ svn rm http://svn/repros/foo/component-2

And, now you want what was once under the directory
http://myserver/foo/component-2/tags/build-3?

Since you've cleaned out the leaves of the tree that contained your
build-3 tag, the only way you can get back to it is to refer back to
another transaction like you did. I personally would have done a "svn
copy" to a tag or branch directory instead of a "svn co" (at least at
first) just so I can find that point again. But, the "svn co" works
just as well.

On 6/15/05, THOMAS DAVID VAUGHAN <tom@vaughan.to> wrote:
> Hi,
>
> If I have a repository with a layout like:
>
> foo/
> component-1/
> trunk/
> tags/
> branches/
> component-2/
> trunk/
> tags/
> branches/
>
> and I have under component-2, for example, a tag "build-3", and then
> development continues, and I delete via `svn rm` component-2 from under foo,
> how do I restore "build-3"?
>
> I was able to do this with a command like:
>
> svn co https://svn/repos/foo/component-2/tags/build-3@300
>
> where 300 just happened to be the last changeset in component-2. But this
> took some work to figure out. I tried BASE and COMMITTED instead of 300 and
> those didn't work. Is there an easier, standard way to do this?
>
> Thanks.
>
> -Tom
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 15 22:43:17 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.