Multiple Bug ID in single commit

100 views
Skip to first unread message

Marcolino

unread,
Jun 13, 2008, 11:13:19 AM6/13/08
to us...@tortoisesvn.tigris.org
Hi all,
I'm using Tortoise SVN from a lot, integrate with my bug tracker.
I have this need. Usualli I fix a lot of bugs before commit, but i can
set only one bug each commit to get the link in description.
Is it possible to add multiple guds in the field and the get multiple
link to bug in description?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-un...@tortoisesvn.tigris.org
For additional commands, e-mail: users...@tortoisesvn.tigris.org

Simon Large

unread,
Jun 13, 2008, 11:53:13 AM6/13/08
to us...@tortoisesvn.tigris.org
2008/6/13 Marcolino <marco.p...@gmail.com>:

> Hi all,
> I'm using Tortoise SVN from a lot, integrate with my bug tracker.
> I have this need. Usualli I fix a lot of bugs before commit, but i can
> set only one bug each commit to get the link in description.
> Is it possible to add multiple guds in the field and the get multiple
> link to bug in description?

I would recommend that you commit bug fixes separately, as far as
possible. But it's your choice ;-)

In 1.4.x you can enter multiple issues and get individual links with
both integration methods. What bugtraq: property values are you using?

Simon

--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net

Paul

unread,
Jun 13, 2008, 2:18:59 PM6/13/08
to us...@tortoisesvn.tigris.org, marco.p...@gmail.com
It's probably your bugtraq:logregex setting property, I know I had
some problems getting this to work until I realized I was reading the
TSVN documentation wrong.

TSVN uses the regular expression in the first line to find the Bug
ID(s) in your log message, and the regex in the second line to find
the IDs found in the first line
We use the following bugtraq:logregex to recognize multiple bugs:
([Bb]ug|[Ii]ssue)s?: (\d+)(,? ?(\d+))*
(\d+)


The log message can use "Bug: 123" "Bugs: 123, 127, 131" "Bug: 123, 127, 131"

Hope this helps...

Marcolino

unread,
Jun 13, 2008, 6:11:35 PM6/13/08
to us...@tortoisesvn.tigris.org
HI,
now i'm using this property:
bugtraq:label = Bug/Problem ID
bugtraq:message = Bug/Problem ID
bugtraq:url = http://www.mysite.com/mantis/view.php?id=%BUGID%


This the properties i'm actually using.
What i need is insert multiple bug and get individual link.
Can you provide me an example please?

Marco

On 13 Giu, 17:53, "Simon Large" <simon.tortoise...@googlemail.com>
wrote:
> 2008/6/13 Marcolino <marco.pozzu...@gmail.com>:


>
> > Hi all,
> > I'm using Tortoise SVN from a lot, integrate with my bug tracker.
> > I have this need. Usualli I fix a lot of bugs before commit, but i can
> > set only one bug each commit to get the link in description.
> > Is it possible to add multiple guds in the field and the get multiple
> > link to bug in description?
>
> I would recommend that you commit bug fixes separately, as far as
> possible. But it's your choice ;-)
>
> In 1.4.x you can enter multiple issues and get individual links with
> both integration methods. What bugtraq: property values are you using?
>
> Simon
>
> --
> : ___
> : oo // \\ "De Chelonian Mobile"
> : (_,\/ \_/ \ TortoiseSVN
> : \ \_/_\_/> The coolest Interface to (Sub)Version Control
> : /_/ \_\http://tortoisesvn.net
>
> ---------------------------------------------------------------------

> To unsubscribe, e-mail: users-unsubscr...@tortoisesvn.tigris.org
> For additional commands, e-mail: users-h...@tortoisesvn.tigris.org

Stefan Küng

unread,
Jun 14, 2008, 2:26:52 AM6/14/08
to us...@tortoisesvn.tigris.org
Marcolino wrote:
> HI,
> now i'm using this property:
> bugtraq:label = Bug/Problem ID
> bugtraq:message = Bug/Problem ID
> bugtraq:url = http://www.mysite.com/mantis/view.php?id=%BUGID%
>
>
> This the properties i'm actually using.
> What i need is insert multiple bug and get individual link.
> Can you provide me an example please?

Separate your issue id's with a colon (,). Just make sure that you don't
add a space between the colon and the issue ids.

Stefan

signature.asc

Andy Levy

unread,
Jun 14, 2008, 8:16:12 AM6/14/08
to us...@tortoisesvn.tigris.org
On Sat, Jun 14, 2008 at 2:26 AM, Stefan Küng <torto...@gmail.com> wrote:
> Marcolino wrote:
>>
>> HI,
>> now i'm using this property:
>> bugtraq:label = Bug/Problem ID
>> bugtraq:message = Bug/Problem ID
>> bugtraq:url = http://www.mysite.com/mantis/view.php?id=%BUGID%
>>
>>
>> This the properties i'm actually using.
>> What i need is insert multiple bug and get individual link.
>> Can you provide me an example please?
>
> Separate your issue id's with a colon (,)

That's a comma.

Reply all
Reply to author
Forward
0 new messages