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

Re: checkout files from deleted branch

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-16 22:55:17 CEST

On 8/16/06, Jason Coutu <jcoutu@solidodesign.com> wrote:
> I've run into what i think is a bug... The development shop where I
> work uses svn for it's developement process. And as std dev practice
> here we use branches for development of new idea's that may or may not
> go into the product. At the same time we delete these branches when the
> feature is either discarded or moved into the trunk.
>
> Here's where this gets tricky, the QA dept. sometimes needs to checkout
> these deleted branches to run profiling on them. Some of people that
> are running svn 1.1.1 can do this by using the -r option with a revision
> before the delete. Others running 1.2.x cannot do this they get a
> "missing file at revision Y" where y is the current revision.
>
> Has anybody elese noticed this/ can confirm it for me?

You need to read up on peg revisions. Specifically, they'll probably
need to do something like:

svn co -r 10 http://foo/bar/baz@10

(That'll get you a directory baz that exists in r10 but not in trunk)

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 23:12:27 2006

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.