[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: <kfogel_at_collab.net>
Date: 2005-08-10 20:05:56 CEST

"Robert P. J. Day" <rpjday@mindspring.com> writes:
> don't have my test box in front of me or i'd just test it. first,
> are there only the three pre-defined revision properties:
>
> svn:{log,date,author} ??

Currently, yes, but *any* property starting with "svn:" is reserved
for Subversion's use, for all eternity. This is true of both revprops
and regular props.

> and i've seen that you have to explicitly use a hook script to enable
> changing *any* revision properties. if i used a script with little
> more than "exit 0" (yes, a bad idea, i'm sure), could i set arbitrary
> revision properties? (i'm assuming i'd want to avoid inventing new
> properties with the "svn:" prefix.)

I often use a script that just does "exit 0", precisely because I want
to be able to set arbitrary revision properties. YMMV :-).

-Karl

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