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

Re: check out on top of existing tree

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-08 19:32:27 CEST

On Jun 8, 2005, at 2:34 AM, Max Bowsher wrote:

> Phil Lawrence wrote:
>
>> How can I checkout ON TOP OF an existing dir structure?
>>
>> Usage:
>> We have a *very* large vendor tree on a production server. I only
>> want
>> to version a few files within it. So I copy the stuff I want into a
>> sparse version of the vendor tree, and import. No problem.
>>
>> Now, how do I checkout on top of the full vendor tree?
>> $ cd $VENDOR_HOME
>> $ svn checkout https://.../vendor/trunk .
>> svn: Failed to add directory 'foo': object of the same name
>> already exists
>>
>> What's the right way to do this?
>>
>
> I'm not actually aware of any convenient way to do this. I think
> perhaps this is a missing feature.
>

The usual workaround for this scenario is the 'in-place' import
technique, because it doesn't require a checkout after things are
committed to the repository:

    http://subversion.tigris.org/faq.html#in-place-import

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 8 19:35:56 2005

This is an archived mail posted to the Subversion Users mailing list.