Use Properties|Bugtraq-Properties to configure the Bugtraq-Properties for the current working copy. Bugtraq-Properties are a technique for integrating Subversion with issue tracking systems.
A detailed specification for the Bugtraq-Properties can be found at: http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/doc/issuetrackers.txt, username is guest with empty password. SmartSVN implements this specification with following mapping from UI elements to core bugtraq:-properties as shown in Mapping from core bugtraq:properties to SmartSVN UI elements.
bugtraq:url | URL |
bugtraq:warnifnoissue | Remind me to enter a Bug-ID |
bugtraq:label | Message Label |
bugtraq:message | Message Pattern |
bugtraq:number | is true exactly if Bug-ID is set to Numeric |
bugtraq:append | is true exactly if Append message to set to Top |
bugtraq:logregex | For the version with one regular expression this corresponds to Bug-ID expression. For the version with two regular expressions, Message-Part Expr. corresponds to the first line and Bug-ID expression corresponds to the second line. |
Example |
Your commit messages look like: Ticket: 5 Some message or ticket #5: Some message and you want the 5 show up as a link to your issue tracker. In this case, set Bug-ID expression to [Tt]icket:? #?(\d+) and leave Message-Part Expr. empty. If you want the whole Ticket #5 part show up as a link, use the same Bug-ID expression and also set Message-Part Expr. to this value. |
Example |
Let's say your commit messages look like this: CF-11: Some message, or ET-12: Some message. Then, if you want the 11 and 12 to show up as links to your issue tracker, set Bug-ID expression to \d+ and the Message-Part Expr. to (CF|ET)-(\d+). If you want the whole CF-11 or ET-12 part to show up as a link, set Bug-ID expression to (CF-\d+|ET-\d+) and leave Message-Part Expr. empty. |