Integrate with issue tracker - bug Id can not be larger than 6 digit number
By AlanTsai2... on April 01, 2014 08:42 (imported from Google Code)
What steps will reproduce the problem?
-
Under settings -> Hook Scripts -> Issue Tracker config - set the bugtraq.url and bugtraq.logregex.
-
Add a commit - say if your bugtraq.logregex is set up to get bug id in pattern like "#\d+", then commit with message such as "fix #1234567"
-
Use "Show log" and find the commit and try to click the bugId bits(1234567)
What is the expected output? What do you see instead?
I expect my default browser to be opened with url set to the same as "bugtraq.url" and bugId replaced with 1234567.
instead I see a pop up showing "No more revisions found."
What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit 1.8.7.0
git version 1.8.5.2.msysgit.0
Windows 8
Please provide any additional information below.
if I change commit to "fix #123456" (with only 6 digits number), it would work as I expected.
I am guessing if bug id is over 6 digit the link will be looking for commits instead of opening browser.
When I was reading the doc(from http://tortoisegit.org/docs/tortoisegit/tgit-dug-bugtracker.html), it was not stated anywhere (unless if I have overlooked), so it took some time to realize it was the bugId being too big causing the problem.
I am not sure whether this is a bug or it was meant to do that.