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

Re: svn externals: 2 paths for authentication, but only one external?

From: John Owens <john_owens_at_yahoo.com>
Date: Fri, 17 Apr 2009 22:06:57 +0000 (UTC)

John Owens <john_owens <at> yahoo.com> writes:

> What I really want is to have all.bib included in each paper
> (/papers/paper/all.bib). A softlink would work great, but svn doesn't
> support softlinks. But externals is fine - I can add bib in each paper
> directory as an external and it fetches nicely. Then my users only
> have to fetch the one paper directory and nothing else, which is
> preferred.
>
> The problem is that when I add bib as an external, I have to add it under
> one of the two authentication paths, either Kerberos or password. If
> I pick one, the external doesn't work for the other one. That's the
> problem I'm trying to solve.

It appears that the new 1.5 relative URLs are solving this problem!
Thanks to Bob and Mike for pointing me in the right direction.

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

My svn externals syntax is now:

$ svn propget svn:externals .
^/trunk/bib bib

This fetches the directory at my svn root called "trunk/bib" into
a "bib" directory. Now it doesn't hardcode the authentication
method into the path, so both authentication methods (even though
they come from different https:// paths) can get it. I am crossing
my fingers this works for my external users, but looks good so far!

Thanks guys.

JDO

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1775820

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-18 00:08:05 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.