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

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

From: Michael Fletcher <mike.fletcher_at_theplanet.ca>
Date: 2003-05-22 03:12:52 CEST

Could you use a revision property?

ie
% svn commit
Committed revision 555.
% svn propset bugid --revprop -r 555 "Bug456" http://myrepo/

On Tuesday, May 20, 2003, at 10:39 PM, martinay wrote:

> 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
>
>
Michael Fletcher

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 22 03:17:17 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.