Svn propset bugtraq:warnifnoissue "false". Svn propset bugtraq:message "BugzID: %BUGID%". Svn propset bugtraq:url " FogBugz URL/default.asp?%BUGID%". Run the following commands from the command line. cd to the root directory of your checkout.If anyone on your team uses TortoiseSVN, a Subversion client for Windows, follow the steps below to configure it to prompt for case numbers when you enter log messages: You can also reference multiple case numbers by separating them with commas: BugzID: 49, 50 When you commit a change using Subversion, include a single line of the form BugzID: case number in the log after the other comments, for example: If you already have a post-commit script, you will need to merge it with this one.Įntering Case Numbers in Subversion Commits If your SVN repository is on Unix, grant executes permissions on both files (chmod +x filename). Put the logBugDataSVN and post-commit scripts you downloaded above into Hooks directory in your Subversion repository. If your Subversion server is Windows, make sure it has Windows Scripting version 5.6 or later installed. If your Subversion server is Linux or Unix, make sure that Perl is installed. Getting Subversion to transmit changes to FogBugz Once you have WebSVN or Trac installed and working with your Subversion repository, set the path to it in the New Repository dialog and click OK to complete the setup. You can also setup FogBugz to link to logs and diffs in Trac. To have FogBugz link to checked-in files directly from cases, you need something that allows you to view file diffs and history logs from a web browser. You can change this setting later by clicking the Edit icon next to the repository on the Admin -> Source Control page. Before you close the dialog, choose whether you want FogBugz to provide links to your check-ins. Select the appropriate tab for the server Subversion runs on and download the scripts. Those instructions are provided in more detail below. The resulting dialog contains scripts and instructions for getting Subversion to transmit changes to FogBugz. In the resulting dialog, select Subversion as the type and give the repository a display name. To do so, log into FogBugz as an administrator and go to Admin -> Source Control. The starting point for setting up source control integration is to create the repository in FogBugz.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |