Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>This answer is incomplete and flawed! It only works from TortoisSVN to Fogbugz, but not the other way around. I still need to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in from Fogbugz while looking at a bug.</strong></p> <hr> <h2>Helpful URLS</h2> <p><a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html" rel="nofollow noreferrer">http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html</a></p> <p><a href="http://tortoisesvn.net/issuetracker_integration" rel="nofollow noreferrer">http://tortoisesvn.net/issuetracker_integration</a></p> <hr> <h2>Set the "Hooks"</h2> <ol> <li><p>Go into your fogbugz account and click Extras > Configure Source Control Integration</p></li> <li><p>Download "post-commit.bat" and the VBScript file for Subversion</p></li> <li><p>Create a "hooks" directory in a common easily accessed location (preferably with no spaces in the file path)</p></li> <li><p>Place a copy of the files in the hooks directories</p></li> <li><p>Rename the files without the ".safe" extension</p></li> <li><p>Right click on any directory.</p></li> <li><p>Select "TortoiseSVN > Settings" (in the right click menu from the last step)</p></li> <li><p>Select "Hook Scripts"</p></li> </ol> <p><a href="http://www.chomperstomp.com/img/tortoiseSVNSettings.png" rel="nofollow noreferrer">http://www.chomperstomp.com/img/tortoiseSVNSettings.png</a></p> <ol> <li><p>Click "Add"</p></li> <li><p>Set the properties thus:</p> <ul> <li><p>Hook Type: Post-Commit Hook </p></li> <li><p>Working Copy Path: C:\\Projects (or whatever your root directory for all of your projects is. If you have multiple you will need to do this step for each one.) </p></li> <li><p>Command Line To Execute: C:\\subversion\\hooks\\post-commit.bat (this needs to point to wherever you put your hooks directory from step 3)</p></li> <li><p>I also selected the checkbox to Wait for the script to finish...</p></li> </ul></li> </ol> <p><strong>WARNING: Don't forget the double back-slash! "\\"</strong></p> <p>Click OK...</p> <p><img src="https://i.stack.imgur.com/GFHEz.png" alt="Adding a Hook Script"></p> <p><em>Note: the screenshot is different, follow the text for the file paths, NOT the screenshot...</em></p> <p>At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".</p> <ol> <li>Click "OK" to close the whole settings dialogue window</li> </ol> <h2>Configure the Properties</h2> <ol start="2"> <li><p>Once again, Right click on the root directory of the checked out project you want to work with (you need to do this "configure the properties" step for each project -- See "Migrating Properties Between Projects" below)</p></li> <li><p>Select "TortoiseSVN > Properties" (in the right click menu from the last step)</p></li> <li><p>Add five property value pairs by clicking "New..." and inserting the following in "Property Name" and "Property Value" respectively:</p></li> </ol> <blockquote> <p>bugtraq:label BugzID:<br> bugtraq:message BugzID: %%BUGID%%</p> <p>bugtraq:number true</p> <p>bugtraq:url <a href="http://[your" rel="nofollow noreferrer">http://[your</a> fogbugz URL here]/default.asp?%BUGID%</p> <p>bugtraq:warnifnoissue false</p> </blockquote> <p><img src="https://i.stack.imgur.com/K28XR.png" alt="properties window"> <img src="https://i.stack.imgur.com/yDnSC.png" alt="adding new property"></p> <ol start="15"> <li>Click "OK"</li> </ol> <h2>Commiting Changes and Viewing the Logs</h2> <p>Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...</p> <p><img src="https://i.stack.imgur.com/pGnHL.png" alt="specifying bug addressed when commiting"></p> <p>When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!</p> <p><a href="http://www.chomperstomp.com/img/viewLog.png" rel="nofollow noreferrer">http://www.chomperstomp.com/img/viewLog.png</a></p> <hr> <h2>Migrating Properties Between Projects</h2> <ol> <li><p>Right click on a project that already has the proper Properties configuration</p></li> <li><p>Select "TortoiseSVN > Properties" (from the right-click menu from step 1)</p></li> <li><p>Highlight all of the desired properties</p></li> <li><p>Click "Export"</p></li> <li><p>Name the file after the property, and place in an easily accessible directory (I placed mine with the hooks files)</p></li> </ol> <p><img src="https://i.stack.imgur.com/ywPry.png" alt="save properties dialogue"></p> <ol start="5"> <li><p>Right click on the root directory of the checked out project needing properties set for.</p></li> <li><p>Click "Import"</p></li> <li><p>Select the file you exported in step 4 above</p></li> <li><p>Click Open</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload