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

Re: Can the pre-commit hook sent a message to TortoiseSVN, if itallows a commit?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-28 19:25:57 CEST

Rene Vestergaard wrote:
> Subject:
> Can the pre-commit-hook sent a message to TortoiseSVN,
> if it allows a commit?
>
> It can sent a message, when I write in the STDERR string
> (done in a Perl-file) and return error ("exit 1")
> from the pre-commit.cmd file
> (which by the way has executed the Perl-file).
>
> A message don't show up, if I return ok ("exit 0").
>
> How can a message come through, if i want to allow a commit?

Why do you want to send a message if the commit is ok? Just to tell
users "ok, everything went ok"? That's not a good idea! Think about it:
after the third or fourth commit, your users won't even read those
messages anymore, and then, if such a message really would tell them
about something important, they would ignore those too!

If you really want this 'feature', you'd have to ask on the Subversion
mailing list...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Fri Oct 28 19:47:41 2005

This is an archived mail posted to the TortoiseSVN Users mailing list.

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