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

Re: Setting property on non-local target

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-17 14:53:16 CEST

On Jun 17, 2005, at 5:39 AM, Lutz Frommberger wrote:

> Hi,
>
> my command line client says
>
> $ LANG="C" svn propset property "text" URL
> svn: Setting property on non-local target 'URL' not yet supported
>
> $ svn --version
> svn, Version 1.1.4 (r13838)
>
> Any idea when this will be supported? It's an important feature here:
> setting a property in the main directory of the repository is
> impossible
> for large projects with many branches and tags otherwise.
>
> Are there any other clients supporting this?

It won't ever be supported. A subversion client cannot change
versioned data (either text *or* properties) except by making the
change in a working copy first, then committing. If we allowed users
to directly upload text or props, it would defeat the entire conflict
resolution process. You'd likely be overwriting somebody else's
changes that you've never seen.

Granted, someone *could* write a program that does an unconditional
propchange write to the repository, without any working copy. The
'svnput.c' example program in the svn source tree demonstrates this
for text changes, though it's plastered with danger warnings. It
could be adapted to do a propset instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 17 14:56:12 2005

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

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