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

RE: propset --revprop -r HEAD svn:externals not working (visual SVN server)

From: Brenden Walker <BKWalker_at_drbsystems.com>
Date: Tue, 1 May 2012 14:12:29 -0400

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2012a_at_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!
Received on 2012-05-01 20:13:06 CEST

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