I can not find any documentation for this – is it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The help for the fields you’ve found in the TortoiseHg config dialog (
thg userconfig) is:Issue Regex field:
Issue Link field:
In other words, if you configure them like
then you will have a setting suitable for the Mercurial project itself: if a commit message contains the text "issueNNN" or "IssueNNN", then TortoiseHg will now make that a link to the Mercurial bug tracker for Issue NNN.
For Bitbucket’s issue tracker you will want a link like
and then capture the issue number in the regular expression. This works because Bitbucket is smart enough to ignore the rest of the URL after the issue number — you can write whatever you want there, or write nothing as above.
Very simple functionality, but also quite useful when you often lookup bugs based on the commit messages.