SQL Source Control - 3.1

SQL Source Control

Using work items and bug IDs - SQL Source Control

You can use SQL Source Control to associate your changes with an SVN bug ID or a TFS work item.

This allows you to better integrate database changes with a bug or issue tracking system, or the project management functionality of Team Foundation Server.

Currently, SQL Source Control only supports this by adding the bug ID or work item number to the comment you make when committing changes.

SVN Bug IDs

SVN bug IDs are enabled using bugtraq properties. These let you add commit hooks to make SVN parse log messages for bug or issue numbers, and relate them to your issue tracking system.

For more information on setting up SVN Bug IDs, see TortoiseSVN: Integration with an issue tracker

To associate a commit with a bug or issue, include the issue number in the commit comment, with a # symbol.

For example: This commit addresses issue #100

TFS work items

TFS work items are a way of tracking pieces of work in a development project. Each work item has a number, and this number can be included in your commit comment to either associate the commit with a work item, or to mark it as resolving a work item.

To associate a commit with a work item include #A[Work Item number] in the Comment.

For example: #A106

To resolve a work item include #R[Work Item number] in the Comment.

For example: #R106

Note that the #A106 and #R106 portion will not appear in the Commit Comment recorded on the TFS Server.

See also

Committing changes

Getting the latest version

Viewing source control logs / history

Getting a specific version

Undoing changes

Conflicts

Using filters to exclude objects

Branching and merging

Was this article helpful?

Search support
Forums

SQL Source Control

all SQL products

all products