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

Re: properties and making life more difficult than it has to be

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-08-11 23:33:12 CEST

Sounds like you've got the whole story.

There are three default revision properties:

*svn:log which is the commit log message
*svn:author which is the name of the person who created the revision
*svn:date which is the date of the revision was created.

If anyone could change revision properties without a care to the
world, they could change the name of the person who created the
revision and even the date the revision was created. Something that
can blow away your tracibility.

The pre-revprop-change hook can be a simple single line "exit 0" which
would allow anyone to change any revision property (including the
date, author, and the log message associated with the revision).

On 8/11/05, Robert P. J. Day <rpjday@mindspring.com> wrote:
>
> i was perusing the svn book to clarify the properties of properties
> (as it were), and i just wanted to verify that i understand the
> features.
>
> for "normal" (that is, versioned) properties, one can set one of
> these with either propset or propedit, at which point that property is
> associated with that file for that revision and all subsequent
> revisions until it's next changed.
>
> for "revision" or unversioned properties, the difference is that one
> of these is associated with only a single, specific revision number.
> and operations on these properties require the appropriate "--revprop"
> and "-r" options.
>
> oh, and the these latter properties require the hook script as well.
> is that pretty much the story?
>
> rday
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 11 23:35:35 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.