FogBugz 7 Online Help

Setting up TortoiseSVN

If anyone on your team uses TortoiseSVN, a Subversion client for Windows, follow these steps to configure it to prompt for case numbers when you enter log messages.

First, make sure FogBugz and your Subversion server are both setup for integration by following these steps. Next, setup your TortoiseSVN clients:

  1. Check out your repository
  2. cd to the root directory of your checkout
  3. Run the following commands from the command line. Notice the dots which are important.

    svn propset bugtraq:label "BugzID:" .
    svn propset bugtraq:url "http://
    Your FogBugz URL/default.asp?%BUGID%" .
    svn propset bugtraq:message "BugzID: %BUGID%" .
    svn propset bugtraq:number "true" .
    svn propset bugtraq:warnifnoissue "false" .
    svn commit -q -m "Added BugzID properties to the repository"
  4. If you would prefer to run these commands from a batch file, you need to escape the % signs by doubling them to prevent the batch file from replacing them with nothing.

    svn propset bugtraq:label "BugzID:" .
    svn propset bugtraq:url "http://
    Your FogBugz URL/default.asp?%%BUGID%%" .
    svn propset bugtraq:message "BugzID: %%BUGID%%" .
    svn propset bugtraq:number "true" .
    svn propset bugtraq:warnifnoissue "false" .
    svn commit -q -m "Added BugzID properties to the repository"
  5. Tortoise will search up your folder path on a checkout looking for this property, so if you checkout from other folders in your tree, be sure to do the same procedure for those folders also. We used to ask people to execute the above commands with the -R flag to do this recursively, but it has been reported that this can slow down Subversion.

More details are available in this guide.