[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: Reinhard Brandstädter <r.brandstaedter_at_gmx.at>
Date: 2004-11-10 20:10:30 CET

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

  • application/pgp-signature attachment: stored
Received on Wed Nov 10 20:15:45 2004

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.