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

Re: Hook error messages

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-11-12 16:09:55 CET

Tim Armes <tarmes@fr.imaje.com> writes:

> Hi,
>
> I've just started using a hook to ensure that the log messages aren't empty.
> Unfortunately, when a user tries to commit using a blank error message, they
> simply get told that the merge operation has failed. Is there a way to
> improve this, so that the user gets told why it failed (i.e. "You must
> supply an log message") ?

Ideally, we'd be snarfing up stderr and sending that back to the user
(though... that might be a *whole* lotta data, hm...). Not sure what
to suggest here. Hey, worst-case, you could email the user. :-)

     Dear <username>,

     Recently you attempted a commit to the repository located at
     http://my.server.com/repos/svn, but you failed to supply a
     non-empty log message. You shall cease and desist from similar
     errors of omission in the future -- or I'll be forced to dispatch
     my team of expert thugs.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 12 16:11:16 2003

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.