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

Re: Link a client directory to a different repository directory

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Thu, 11 Sep 2008 02:13:52 -0500

On Sep 11, 2008, at 01:58, Ryan Schmidt wrote:

> On Sep 10, 2008, at 02:13, PAIRIS Thibault wrote:
>
>>> You could just check out the subdirectory for the working copies. An
>>> awful lot of SVN working copies do this. Instead of
>>> http://server/repository/ being your URL, use
>>> http://server/repository/root/
>>
>> I am sorry I wasn't clear. There are other directories along with the
>> root directory. To give you an example, the repository is
>> something like
>> :
>> module1
>> module2
>> module3
>> root
>>
>> The working copy is :
>> module1
>> module2
>> module3
>> js
>> css
>> index.html
>> favicon.ico
>>
>> The four last items come from the root directory on the repository.
>>
>> Is there a way to move files from the subdirectory to the root when
>> clients check it out, or my only move is to do so permanently on the
>> repository ?
>
> If that is the structure you want to have in the working copy, then
> the best idea would be for you to arrange your repository to have
> the same structure.

Alternately you could use externals.

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

You would set the svn:externals property on the root directory to
pull in the 3 module directories. Your users would then only check
out the root directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-11 09:14:16 CEST

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.