On 23 Oct 2006, at 10:53, John wrote:
> SVN 1.2.3 on SuSE 10.1
>
> I'm in the process of upgrading from M$ VSS and have encountered a
> problem.
>
> I keep various aspects of my web site in separate directories and wish
> to have a common file (index.php) in each directory. Under VSS,
> this was
> easy using shares.
>
> I have established that I need to set up SVN:Externals for this nut
> each
> combination that I try results in an error:
>
> svn: Error parsing svn:externals property on 'Web Site/Site Root'
>
> My structure in SVN is:
>
> 'Web Site'
> |
> |-index
> | --index.php
> |
> --'Site Root'
> |
> |-functions
> | |-function1.php
> | |-function2.php
> | --(index.php)
> |
> |-source
> |
> --images
>
> and I'd like to have index.php included in Site Root, functions and
> images. (the index directory has been set because I understand that I
> can not share individual files so I've out the 'master' index.php
> in its
> own directory.) As illustrated in functions, there will be other
> files
> in each directory.
>
> I'm trying to set, for example:
>
> svn propset svn:externals "file:///repos/Web Site/index" "Web Site/
> Site
> Root" from the directory which contains the working copy of the Web
> Site
> structure.
>
> What am I doing wrong to get the error above?
your syntax is wrong. The svn:externals property expects a newline
separated list of directory url pairs.
e.g.
foo http://example.com/repos/zig
foo/bar -r 1234 http://example.com/repos/zag
(from the svn help)
This is pretty much impossible to do on the command line unless you
only have one external to set, so put them in a temp file and use the
-F option.
I don't think you can get what you really want using svn externals
since you will end up with a directory in Web Site/Site Root called
index which contains index.php.
btw, spaces are not legal in URLs, so you must encode them using %
notation.
>
> TIA
>
> John
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 23 12:54:55 2006