[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: THOMAS DAVID VAUGHAN <tom_at_vaughan.to>
Date: 2005-06-15 22:59:05 CEST

 

> -----Original Message-----
> From: David Weintraub [mailto:qazwart@gmail.com]
> Sent: Wednesday, June 15, 2005 1:41 PM
> To: THOMAS DAVID VAUGHAN
> Cc: users@subversion.tigris.org
> Subject: Re: how to access deleted file/directory?
>
> Just to clarify, you did this:
>
> $ svn copy https://svn/repros/foo/component-2/trunk
> http://myserver/foo/tags/build-3

No. This was to the same server.

svn copy https://svn/repos/foo/component-2/trunk
https://svn/repos/foo/component-2/tags/build-3

>
> Then, sometime later you did this:
>
> $ svn rm http://svn/repros/foo/component-2

Yes.

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

Yes. But from the original server.
https://svn/repos/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

OK. I understand that this may be more of a problem with how I chose to
layout my repository tree than with subversion itself...

> 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.

I don't understand this. The copy would be instead of which checkout
operation?

Thanks David!

-Tom

>
> 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 23:02:08 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.