SQL Source Control - 1.1

SQL Source Control

Learning SQL Source Control - 1.1

Using SVN bug IDs & TFS work items

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 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

Linking a database to source control

Committing changes

Getting the latest version

Viewing source control logs / history

Getting a specific version

Undoing changes

Conflicts

Deploying a database from source control

Was this article helpful?

Search support
Forums

SQL Source Control

all SQL products

all products