On Mon, Apr 7, 2008 at 4:05 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Mon, Apr 7, 2008 at 1:32 PM, Chris Curvey <ccurvey_at_gmail.com> wrote:
> > Ive read the book, I've Googled, I've searched high and low, and I have
> > been able to find an example that works.
> > I have two projects, foo and bar that share a common "sql" directory.
> > foo project is up and running, I'd like to make it's SQL directory
> > as an external directory to the bar project.
> > /foo
> > /txt
> > /sql
> > /bar
> > /txt
> > so what I did was
> > $ svn co http://svn.example.com/bar bar
> > $ cd bar
> > $ svn mkdir sql
> > $ svn propset svn:externals 'http:/svn.example.com/foo/sql' sql
> > and all I get is "error parsing svn:externals property on 'sql'
> > what am I doing wrong?
> Skip the "svn mkdir sql" above, and drop the quotes around the
> external's URL. The directory will be created when you next svn up
Actually, the quotes are necessary... however it should quote the entire
external value. It should also provide the target directory on which it
should be set.
svn propset svn:externals 'http://svn.example.com/foo/sql sql' .
(note the last argument '.')
Unless I am scripting, I prefer to set externals using the editor.
svn pedit svn:externals .
Received on 2008-04-08 01:14:05 CEST