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

Re: Error parsing svn:externals

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-11 16:01:46 CET

'svn:externals' is something wholly interpreted by an svn client, used
to construct composite working copies. The repository itself has no
'symlink' feature, either between directories or other repositories.
So I don't think there's any way to achieve what you want.

On Nov 10, 2004, at 1:10 PM, Reinhard Brandstädter wrote:

> On Wednesday 10 November 2004 15:52, Dale Worley wrote:
>> You probably want to say
>>
>> svn propset svn:externals "doc
>> http://fit-repos.ams.stiwa.com/trunk/doc" .
>
> ah OK a slight misunderstanding on my side, got it after I read the
> part in
> the book several times.
> So if you set the svn:externals property of a directory to "doc
> http://.../something" the "doc" isn't actually a directory shown in the
> repository filled with content from the external repository but it is
> created
> as a directory when checking out the repo.
>
> I tried to create the "doc" dir in my repos and then defined a
> svn:externals
> on the parent dir of that "doc" dir - which then fails of course.
> So in fact if you browse a repository (e.g. via the apache SVN mod)
> you don't
> see anything about this externals definitions.
> I guess it's not possible to link to the other repo then.
>
> Is there any repository access method (WebDAV client?) who would
> achieve this?
> The use case for this is the following:
> I have several project repositories (with similar layout), each has a
> trunk/doc directory. Now I want to create a new repository only
> containing
> external definitions to the doc directories of all the other repos.
> Since this "doc-only" repo is mainly accessed by users with low
> experience I
> want to give them ability to browse the "doc-only" repository without
> checkout (as you can do with a normal repository and a WebDAV client).
> This
> would be a really neat feature, since it allows to define different
> "views"
> and the combination would make it a nice document management system.
> (Developers work on own repos, Management has a own repository with
> only
> relevant documents of all projects....)
>
> Reinhard
>
>>
>> Remember that the svn:externals property is a property of the
>> directory
>> whose child is the imported thing. In this case, ./doc will be a
>> replica
>> of http://.../trunk/doc.
>>
>> Dale
>
>
> --
> Reinhard Brandstaedter
> Wiener Str. 28 phone: 0043 699 12419541
> 4020 Linz icq: 73059068
> Austria email: r.brandstaedter@gmx.at
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 11 16:02:17 2004

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