You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David James <li...@davidjamesdesign.com> on 2006/08/16 21:49:56 UTC

Selective Checkout

Hello,

First time on this list.

I only want to check out certain parts of a very large application.  
But I can't get subversion to see all the bits as one whole file  
structure. For instance if I do an svn status at the root directory,  
it shows question marks for all of the sub-directories that I added  
separately. How do I bring it all together?

David.

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

Re: Selective Checkout

Posted by David James <li...@davidjamesdesign.com>.
That works brilliantly. Thank you!

On Aug 17, 2006, at 11:33 AM, Ryan Schmidt wrote:

> On Aug 17, 2006, at 17:13, David James wrote:
>
>> Here is the sequence:
>>
>> cd /path/to/project/root
>>
>> svn checkout -N http://repos/root .
>>
>> svn checkout http://repos/root/sub-directory ./sub-directory
>>
>> svn status
>>
>>> ?   sub-directory
>>
>> svn add sub-directory
>>> svn: warning: 'includes' is already under version control
>
> Try this:
>
> cd /path/to/project/root
> svn checkout -N http://repos/root .
> svn update sub-directory
> svn st
>
> Note that the -N switch is somewhat broken. Whether this is  
> important to you depends on how you use it.
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=695
>
>


Re: Selective Checkout

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 17, 2006, at 17:13, David James wrote:

> Here is the sequence:
>
> cd /path/to/project/root
>
> svn checkout -N http://repos/root .
>
> svn checkout http://repos/root/sub-directory ./sub-directory
>
> svn status
>
>> ?   sub-directory
>
> svn add sub-directory
>> svn: warning: 'includes' is already under version control

Try this:

cd /path/to/project/root
svn checkout -N http://repos/root .
svn update sub-directory
svn st

Note that the -N switch is somewhat broken. Whether this is important  
to you depends on how you use it.

http://subversion.tigris.org/issues/show_bug.cgi?id=695


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

Re: Selective Checkout

Posted by David James <li...@davidjamesdesign.com>.
Here is the sequence:

cd /path/to/project/root

svn checkout -N http://repos/root .

svn checkout http://repos/root/sub-directory ./sub-directory

svn status

> ?   sub-directory

svn add sub-directory
> svn: warning: 'includes' is already under version control

And the answer to your question is no I did not commit them.

On Aug 17, 2006, at 8:27 AM, <Ch...@qimonda.com>  
<Ch...@qimonda.com> wrote:

> When you added the dirs, did you also "svn commit" them?
>
>> -----Original Message-----
>> From: David James [mailto:list-subversion@davidjamesdesign.com]
>> Sent: Wednesday, August 16, 2006 5:50 PM
>> To: users@subversion.tigris.org
>> Subject: Selective Checkout
>>
>> Hello,
>>
>> First time on this list.
>>
>> I only want to check out certain parts of a very large application.
>> But I can't get subversion to see all the bits as one whole
>> file structure. For instance if I do an svn status at the root
>> directory, it sho


RE: Selective Checkout

Posted by Ch...@qimonda.com.
When you added the dirs, did you also "svn commit" them? 

>-----Original Message-----
>From: David James [mailto:list-subversion@davidjamesdesign.com] 
>Sent: Wednesday, August 16, 2006 5:50 PM
>To: users@subversion.tigris.org
>Subject: Selective Checkout
>
>Hello,
>
>First time on this list.
>
>I only want to check out certain parts of a very large application.  
>But I can't get subversion to see all the bits as one whole 
>file structure. For instance if I do an svn status at the root 
>directory, it shows question marks for all of the 
>sub-directories that I added separately. How do I bring it all 
>together?
>
>David.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>

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