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

Re: 'svnadmin setrevprop' command and its interface (r21736)

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-03 15:29:27 CEST

On 10/2/06, Daniel Rall <dlr@collab.net> wrote:

> My desired behavior for 'svnadmin setrevprop' is be:
>
> o Bypass revprop change hook scripts by default, as this is a program
> intended for repository administration. This behavior differs from
> that of 'svnadmin setlog'.
>
> o Allow hook scripts to be invoked using command-line flags, a la
> 'svnadmin load':
> --use-pre-revprop-change-hook
> --use-post-revprop-change-hook
>
> I'd be happy to implement the above.

Perhaps something like --skip-hook-scripts with a default of skipping
all of them, but optionally taking a list of hooks to skip? Or the
other way around with --run-hook-scripts. Honestly I'm fine with it
the way it is though.

> I'd also like to float whether anyone thinks that we should name the
> command 'setprop' or 'propset' instead of 'setrevprop' (it currently
> can set only revprops, and setting normal properties requires that a
> full commit be made). I'm not volunteering to implement setting of
> normal properties, nor am I even sure that would be a good idea, but
> neither do I want to release an interface which is not extension-able.

I prefer setrevprop. I think actually making commits to the
repository (other than the special case of dump/load) is outside the
realm of svnadmin, and should remain that way.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 3 15:29:52 2006

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