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

SV: Can the pre-commit hook sent a message to the SubVersion client, if it allows a commit?

From: René Vestergaard <rve_at_techno-matic.dk>
Date: 2005-10-31 08:31:04 CET

Ups ... sorry ... way send to wrong email :(

> -----Oprindelig meddelelse-----
> Fra: René Vestergaard [mailto:rve@techno-matic.dk]
> Sendt: 31. oktober 2005 08:17
> Til: users@tortoisesvn.tigris.org
> Emne: Can the pre-commit hook sent a message to the SubVersion client,
> if it allows a commit?
>
>
> Subject:
> Can the pre-commit-hook sent a message to the SubVersion client,
> 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?
>
> Info.:
> ------
> We use the OS'es WindowsServer2003 and WindowsXP.
>
> I have installed "svn-1.2.3-setup.exe" on the server (WindowsServer2003).
>
> Some clients use the GUI "TortoiseSVN-1.2.5.4719-svn-1.2.3.msi" and
> others use "svn-1.2.3-setup.exe" from a console window.
>
>
>
> Email that I send to users@tortoisesvn.tigris.org earlier about this
> subject:
> ------------------------------------------------------------------
> ----------
> -
>
> > -----Oprindelig meddelelse-----
> > Fra: Stefan Küng [mailto:tortoisesvn@gmail.com]
> > Sendt: 28. oktober 2005 19:26
> > Til: users@tortoisesvn.tigris.org
> > Emne: Re: Can the pre-commit hook sent a message to TortoiseSVN, if it
> > allows a commit?
> >
> >
>
>
> > 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...
> >
> I do just that :)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: users-help@tortoisesvn.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Mon Oct 31 08:16:28 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.