Let’s say I’m working on a bug … bug number 3712:
I've fixed the bug, and now I'm ready to check in the fixes. As usual VSS prompts me for a log comment:
I'll add the comment, but I'll also add the bug number that I was fixing, by inserting a line of the form BugzID: 3712 in the comment, as shown here:
VSScommits my changes, and logs them to a journal.txt file. Later a Windows script is run and notifies FogBugz of the submission.
Now when we go back and look at the bug, we'll see a Checkins line:
This line contains two links. The first link, with the file name where the change occurred, links to the VSS log:
The second link shows the revision number of this file (3), and links to the exact diff that I just checked in:
Besides making it easy to keep checkins matched up with bug reports, I can now assign the fix to another developer and ask them to check my fix. They will be able to click one link to see the exact change I made which makes it easy for them to review it.