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

Re: svn:externals example

From: marc gonzalez-carnicer <carnicer.lists_at_gmail.com>
Date: Tue, 8 Apr 2008 08:32:59 +0200

in your original example, there is only 1 slash ('/') in "http:/".
that is probably an error cause.

2008/4/8, Hari Kodungallur <hkodungallur_at_gmail.com>:
>
> 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
> not
> > > been able to find an example that works.
> > >
> > > I have two projects, foo and bar that share a common "sql" directory.
> The
> > > foo project is up and running, I'd like to make it's SQL directory
> available
> > > 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
> > bar.
> >
>
>
> 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 .
>
>
> Regards,
> -Hari
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-08 08:33:34 CEST

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