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

Re: Variable expansion in svn:externals

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-06-09 19:38:03 CEST

Keith Richling wrote:

>I would like to set up a path in a repository that has an svn:externals
>property that points to a different value depending on who is performing
>the check out.
>
>I have tried having an svn:externals with a value of "xml
>svn+ssh://localhost/home/svn/some-project/${LOGNAME}/head"
>
>When I check out the directory that has the svn:externals value, I get
>the following error message:
>
>../subversion/libsvn_fs/tree.c:186: (apr_err=160013)
>svn: Filesystem has no item
>svn: file not found: transaction `9f', path
>`/accomplishments/${LOGNAME}/head'
>
>
>I am guessing that this is because variable expansion did not occur on
>${LOGNAME}.
>

Umh, what makes you think that some kind of variable expansion would
occur on the externals value? Where would the variable's value come
from anyway?

>Is there a way to get svn to do this type of user specific check out?
>

Not that I know of, and honestly it seems like a bad idea. Why do you
want people to get different results for checking out the same thing?
If they want somethign different, why not give them a different thing to
check out?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 9 19:38:54 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.