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

Re: pre-revprop-change hook problems

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2005-09-29 07:58:07 CEST

On Wed, 2005-09-28 at 20:31, Michael Sinz wrote:
> Ben Collins-Sussman wrote:
> > That's probably because the user is performing the action anonymously.
> > It means you've misconfigured your server -- it should be sending an
> > authentication challenge, and it isn't.
> >
> > Granted, if no user is available, perhaps we should call the hook with
> > "anonymous" as the 3rd argument, or something...? That would be
> > inconsistent with other existing policies, though. For example, if
> > somebody performs an anonymous commit, we don't attach a revision
> > property of 'svn:author = anonymous' -- the svn:author property just
> > doesn't exist on the revision.
>
> Maybe it should just be "" as the 3rd argument.
Maybe we could have parameters that are prefixed by the fieldname, like
for instance, in a two parameter
repos-path=/path/to/repos revision=2 author=myself propname=affectedProp
action=A

in case author is absent, it would be
repos-path=/path/to/repos revision=2 propname=affectedProp action=A

similarly for other empty parameters....

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 29 07:50:32 2005

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