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

Re: Support for: Setting property on non-local target

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-02-28 19:50:38 CET

Ben Collins-Sussman wrote:
> On 2/28/06, C. Michael Pilato <cmpilato@collab.net> wrote:
>
>>Matthias Wächter wrote:
>>
>>>What is it that blocks this feature from appearing? Is it just
>>>programming effort on the client side, or is it a lack of communication
>>>support between client and server? Or something else?
>>>
>>>V1.4.0 (trunk r18647) gives:
>>>
>>>$ svn propset svn:mime-type application/pdf http://repos/file
>>>svn: Setting property on non-local target 'http://repos/file' is not
>>>supported
>>
>>I always assumed it was something silly, like the fact that a remote
>>propset was a commit, so to which item (the property's value, or the
>>commit log message), does the -F parameter apply to.
>
> Our reason has always been: official subversion clients cannot change
> versioned data unless it's done in a working copy first. It's the
> reason that we have screaming warnings all over the 'svnput.c' example
> code, and it's the same reason we don't allow writing versioned
> properties directly to the repository. You might clobber changes that
> you've never seen.

That's interesting, Ben. I've heard that idea mentioned in conversation, but
are you sure?

(a) I've never really heard that given as the reason. Have we written it down
anywhere?

(b) It's not consistently true. For example, "svn delete" can delete by URL an
item that's changed since you last saw it.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 28 20:09:42 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.