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

Re: Can you set properties on a file without having it checked out?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-12 04:20:36 CEST

On May 11, 2005, at 6:41 PM, Scott Simpson wrote:

> Hari Kodungallur wrote:
>
>
>> check the Warning box in chapter 5, section 2.1 of the svn book
>> http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-5-sect-2.1
>>
>> Moreover, setting property on repository URL (non-working copy) is
>> not
>> supported (atleast in version 1.1.x)
>>
>>
>>
> The warning box just says not to do it in the post-commit hook.
> That is fine. I could move it to the pre-commit hook and then it
> would be part of the same transaction and the user wouldn't be out
> of date. However, as you said, "svn propset" doesn't seem to work
> on the server side.
>

You can't change versioned data (either a file's text or properties)
except in a working copy. Plain and simple. In other words, you
cannot change file-text or properties using a URL argument to some
command. There's no such thing, and it's deliberate.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 12 04:23:48 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.