> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-20...@ryandesign.com]
> 
> On May 1, 2012, at 12:12, Brenden Walker wrote:
> 
> > I've been trying to set properties in my repo with a command similar to:
> >
> > svn.exe propset --revprop -r HEAD svn:externals
> "https://devsubversion/svn/Development/Trunk/Projects/XCCS/Exports@1
> 394
> Externals/XCCS"https://devsubversion/svn/Development_TEST/Tags/SiteW
> atch/RC_1/Projects/SiteWatch/
> >
> > svn reports it worked  "property 'svn:externals' set on repository revision
> 1496" however nothing is changed.  I tried slik svn client, the one that comes
> with tortoise as well as one compiled on a linux box.  Same results.  I've 
> tried
> -file, variations on the format of the external without the pin 
> revision..etc..
> No luck.
> >
> > Perhaps a bug in  VisualSVN server (what we're using currently).  However I
> thought I'd ask the list first to see if this is a known problem.  Or maybe 
> the
> format is just wrong.
> >
> > And yes, I have a pre-prop hook.
> >
> > I ended up working around this by checking out locally, setting props and
> commit.. that works fine.
> 
> svn:externals is a versioned property, not a revision property. Setting it on 
> a
> revision succeeds, as you see, but it has no effect. This is simply user 
> error;
> there is no bug. You already found the correct method: check out a working
> copy, set svn:externals to the desired value on the desired directory, and
> commit.

That explains it.  A related follow up, I'm setting svn:externals like so:

https://devsubversion/svn/Development/Trunk/Projects/XCCS/Exports@1395 
Externals/XCCS

That seems to work fine, when I checkout I get the correct revision however 
when I was looking into this I noticed a different format:

-r1395 https://devsubversion/svn/Development/Trunk/Projects/XCCS/Exports 
Externals/XCCS

I believe my first example is the correct format now, and the other is just old 
or perhaps simply incorrect?

Thanks!


Reply via email to