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

RE: [TSVN] Trac/bugtraq - Ticket to Changeset link [was: Re: Trac [was: TortoiseSVN 1.1.1 released]]

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2004-10-28 09:37:50 CEST

Hi Lars,

> Assuming I want to use Trac which expects something like
> 'fixes #1234' I
> would define bugtraq:message to be 'fixes #%BUGID%', right?
That would only be ok, if you are really sure that your commit fixes this
bug-id. I would not use such a standard text...

> What would happen with multiple bug IDs then - I guess the
> result would
> be 'fixes #1234,4356'? Is there any way to have it expanded as 'fixes
> #1234, #4356'? (If not it's a matter of customizing trac's
> hook scripts, which is still viable)

Yes, currently it would be 'fixes #1234,4356'. It's really easy to extract
the issue id's from that line with a regex and then loop through the issues,
attach a bugnote, change the status to fixed or whatever. I've done it with
a ten liner in php for mantis. Python / trac should be the same.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 28 10:47:37 2004

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

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