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

Re: Logs of property changes

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-08 23:55:01 CET

On Feb 8, 2006, at 23:13, Yaakov Chaikin wrote:

> On 2/8/06, Royce Fessenden <rfessenden@dmp.com> wrote:
>> Property changes are not logged!
>
> Yet, updating a property does increment the revision number.
>
>> (That's why the ability to edit log
>> messages is disabled by default.)
>
> Well, I did succeed in logging change of a property and it did show up
> in the logs. You are saying that property changes do no require a log
> message by default, but I can provide one if I want? Just wanted to
> make sure I understand what you are stating.

There are two different kinds of properties.

There are the properties that apply to files and directories, like
svn:keywords, svn:eol-style, svn:executable and so forth. You change
these in a working copy, and then commit the change, which creates a
new revision just like any other change in a working copy.

The other kind of properties are revision properties, which are
things like the date of a commit, its author, the log message, and so
forth. These are also called unversioned properties, because they
apply directly to a revision, meaning if you were to change them,
this wouldn't cause a new revision to be created; rather, the
property of the existing revision would be overwritten, and the
previous values would be lost forever. (They are not versioned like
the rest of the things in your repository are.) For this reason, the
ability to change revision properties is turned off by default, and
if you want to enable this ability for some reason (like letting
people fix typos in commit messages after the fact) you need to
install a pre-revprop-change hook to allow it. You're also advised in
this case to log the change somewhere, for example by sending an
email to your development group.

Yaakov was talking about ththe first type of property in his original
posting; Royce is talking about the second.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 8 23:56:50 2006

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