subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C M <cmanalys...@gmail.com>
Subject Re: svn:externals - svn: E200009: Targets must be working copy paths
Date Fri, 01 Feb 2013 17:00:48 GMT
Ryan:

I was able to set multiple external definitions using the --file option.
Worked pretty well, actually considering how challenging everything else
has been so far!

One last question on this topic. I want to pin the external definition to a
known revision using something this shortened command, but it's not
working. The "-r 109" being the revision I want to pin to.

c:\Temp\800>svn propset svn:externals -r 109 <path info> .

svn: E205000: Cannot specify revision for setting versioned property
'svn:externals'

Andreas: I will provide feedback on the documentation shortly.


On Wed, Jan 30, 2013 at 4:38 PM, Ryan Schmidt <
subversion-2012c@ryandesign.com> wrote:

>
> On Jan 30, 2013, at 14:14, C M wrote:
>
> > Thank you for the "teach a man to fish" approach. Though I didn't find
> the documentation to be very clear, I was able to set the property using
> the syntax below.
> >
> >
> > c:\Temp\800>svn propset svn:externals "ver_1.0
> svn://3.x.x.x/trunk/Customer1/system_800/ver_1.0" .
> > property 'svn:externals' set on '.'
> >
> > This worked for the directory listed above. I then added several
> external definitions, but when I finally committed and checked out, it
> seems that only the last definition was applied. Evidently I overwrote the
> previous definitions.
> >
> > Can I add multiple external definitions? If it's in the "svn help
> propset", I am not seeing it.
>
> Yes you can have multiple externals definitions, one on each line of the
> svn:externals property. Setting a multiline property on the command line
> via "svn propset" is difficult, so instead try "svn propedit svn:externals
> ." (and type the multiline externals into the interactive editor) or "svn
> propset svn:externals --file X ." (and provide a file X containing the
> multiline externals).
>
>
>

Mime
View raw message