You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Coutu <jc...@solidodesign.com> on 2006/08/16 19:35:34 UTC

checkout files from deleted branch

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?

Jason Coutu
Solido Design Automation

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

Re: checkout files from deleted branch

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 8/16/06, Jason Coutu <jc...@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