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

Re: can i invent arbitrary revision properties?

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: 2005-08-10 23:28:19 CEST

On Wed, 10 Aug 2005, David Weintraub wrote:

> You can set create any revision property you want. However:
>
> * You can only create a revision property once the revision is
> created. You can't (like file properties) create a property on a
> commit.

fair enough, i noticed that.

> * In order to modify or create a revision property, you must define a
> hook script to allow you to change those properties. This hook script
> can simply be "exit 0", but that would allow anyone to change any
> revision property including the log, the author, and even the date
> that the revision was created.

karl f. already suggested that approach, as wide open as it is. i'll
give some thought as to how i want to handle that.

> * There isn't any simple mechanism to find a specific revision
> property (except for the svn:log, svn:date, and svn:author which are
> listed via the "svn log" command).

not sure what you mean by this. as a test, i added a totally
arbitrary revisioned property to a directory and i can view it with:

$ svn proplist --revprop -r HEAD -v pcore
Unversioned properties on revision 2:
  fred : barney <-- that one
  svn:log : fred
  svn:author : rpjday
  svn:date : 2005-08-10T17:54:07.596250Z

so what exactly did you mean above? seems pretty easy to see all of
the unversioned properties.

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 23:30:43 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.