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