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

external argument pass to "pre-commit" trigger...

From: martinay <martinay_at_videotron.ca>
Date: 2003-05-21 06:39:39 CEST

hi folks !

I've followed and play around with SVN and I'm trying to make it The Source
Control Manager in the company I work for.
Part of the tedious evaluations of the Pros&Cons (I've pushed a lot of Pros
on the list :-), I need now to get deeper in the "Trigger Scripts"
functionalities ...

The goal I wish to achieve :

- using the simple "svn" command line, I want to provide some "external
arguments" to hook to our BugTracker, so that each time someone checkin
something, some infos will be added to BugTracker's DB using the the
"pre-commit" and "post-commit" script ...

What I've discovered :

- It seems that an "svn commit" command didn't provide any "external
arguments" accessible by the trigger scripts.
I've seen there is an "--extensions" (or "-t") option for "diff" command,
unfortunately, it is not available to other commands. But, it seems to be a
good and cheap alternative to have the same capabilites for any SVN commands
(assuming svnlook or envvar can let me access to it) ...

Is there any poeple having other ideas about the way I should implement such
triggers ?

Thanks in advance,

Tourlou !

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 21 16:10:12 2003

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

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