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

Re: svn propset svn:externals URL

From: Michael Haggerty <mhagger_at_alum.mit.edu>
Date: 2006-06-21 20:52:36 CEST

Merijn Boom wrote:
> What I want to create is a script which is creating the project,
> including all our subdirectories including our library directory.
>
> Projectname
> |
> ->projectfiles
> |
> ->libaries
>
> If I use the command:
>
> svn propset svn:externals "libaries svn://domain/trunk projectname"
> Projectname
>
> I get an error:
>
> svn: Setting property on non-local target svn://URL/" is not supported
>
> Which if I translated it correctly means that I can use this command on
> a directory in the same repository but not on an external repository
> while this is possible with TortoiseSVN.
>
> Did I overlooked an answer in one of your replies or was it that I did
> not make my self clear enough?

Are you sure that you are invoking svn directly using the command that
you showed? My guess is that somebody has written a wrapper script for
svn which isn't passing quoted arguments through correctly. (It's a
little tricky. Using sh or bash, such a wrapper script should look
something like

    #! /bin/sh
    /usr/bin/svn --my-extra-options-or-whatever "$@"

.) The '"$@"' ensures that the quoting in the original command line is
preserved.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 21 20:56:38 2006

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.