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

RE: Re: avoiding empty comments

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2007-10-08 15:38:35 CEST

>
 
 
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
 
-----Original Message-----
 

> From: Luca Ferrari [mailto:fluca1978@infinito.it]
> Sent: 08 October 2007 14:25
> To: users@subversion.tigris.org
> Subject: Re: avoiding empty comments
>
> On Monday 8 October 2007 Matjaz's cat, walking on the keyboard, wrote:
> > On 10/8/07, Luca Ferrari <fluca1978@infinito.it> wrote:
> > > Hi,
> > > is it possible discard, or better to avoid people committing with
> > > messages too short than x chars? I know it sounds an orrible
solution,
> > > but I'd like to avoid people committing with empty messages.....
> >
> > http://svn.haxx.se/users/archive-2005-07/1553.shtml
>
> Thank you very much guys, I found that working with hooks is what I
need.
> Just
> another question: how can I return a description string to the client?
> Because when the hook denies the commit the client sees:
>
> svn: 'pre-commit' hook failed with error output:
>
> [luca@fluca:/sviluppo/dataflex/frm]$
>
> with no error output (of course I tried echoing to stdout). Any help?

You need to echo to stderr not stdout :-)

Giulio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 8 15:41:11 2007

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.