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

Re: Subversion hooks

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-07-26 06:48:15 CEST

Kristis Makris <mkgnu@gmx.net> writes:

> I'm trying to implement integration of Subversion with Bugzilla, through
> Subversion's hooks mechanism. I noticed that when my hook scripts output
> something on stdout, these messages are not visible.
> How can I make error messages produced by the hook scripts visible to
> the user ?

Use stderr. In shell scripts, you can do this like:

   echo "stdout redirected to stderr" 2>&1

> Also, I was unable to find how a tagging activity is flagged as such in
> a transaction. If I can capture a tag name, I can use that tag name in
> the integration scripts (e.g. to automatically add that tag name as a
> new product version in Bugzilla). How can I capture tags ?

Tags don't exist in Subversion as first-class actions or items. You
get files and directories, and you get the ability to make copies of
them. That's branching and tagging. See chapter 4 of The Book
(http://www.svnbook.com).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 26 06:49:54 2004

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