TfsRevisionManager
Ref
Less than 1 minute to read
2024-08-27 03:49:54 -0500
draft
This page is in draft and may include errors or omissions. Please check the discussions for any pending updates and changes to the content or to suggest your own changes.
The TfsRevisionManager manipulates the revisions of a work item to reduce the number of revisions that are migrated.
Options
Parameter name | Type | Description | Default Value |
Enabled | Boolean | If enabled this will run this migrator | true |
MaxRevisions | Int32 | Sets the maximum number of revisions that will be migrated. "First + Last N = Max". If this was set to 5 and there were 10 revisions you would get the first 1 (creation) and the latest 4 migrated. | 0 |
RefName | String | For internal use | missng XML code comments |
ReplayRevisions | Boolean | You can choose to migrate the tip only (a single write) or all of the revisions (many writes). If you are setting this to `false` to migrate only the tip then you should set `BuildFieldTable` to `true`. | true |
Example
A basic sample for TfsRevisionManager configuration.
1
2
3
4
5
6
{
"$type": "TfsRevisionManagerOptions",
"Enabled": true,
"ReplayRevisions": true,
"MaxRevisions": 0
}