[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: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Tue, 1 May 2012 12:19:26 -0500

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@1394 Externals/XCCS”https://devsubversion/svn/Development_TEST/Tags/SiteWatch/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.
Received on 2012-05-01 19:20:08 CEST

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