[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-09-28 16:54:50 CEST

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...?

Ugh! Software should NEVER fill in an empty field with text describing that it
was empty (except perhaps right at the point of displaying it). Haven't you
seen all those web pages with titles like "The title goes here", and emails
with a subject line of "No subject", for instance? Please excuse my outburst :-)

It should be the empty string, obviously. Is that impossible to do under MS
Windows?

Norbert Unterberg wrote:
> But when the hook is called, the argument 3 (the user name) is
> missing, so propname is %3 and action is %4. This broke our existing
> hooks after the upgrade from SVN 1.1 to 1.2.
>
> The other problem is that the error message sent to stdout (echo
> Property "%PROPNAME%" cannot be changed >&2) is no longer transmitted
> back to the client.

Are you sure these are regressions from v1.1 to v1.2? The error output being
lost is issue #443 which is still not finished. You're not confusing, say, the
pre-commit and pre-revprop-change hooks? Can anyone confirm this?

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 28 16:57:31 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.