TFS Revision Manager Tool

Manages work item revision history during migration, allowing control over the number of revisions migrated and enabling revision replay for complete historical preservation.

Last updated: September 10, 2025 | Edit this page | Discuss this page
top

Overview

The TFS Revision Manager Tool provides control over work item revision history during migration. This tool allows you to manage the number of revisions that are migrated and configure whether to replay the complete revision history or migrate only the final state of work items.

The tool is essential for balancing migration performance with historical data preservation, allowing you to optimize migration speed while maintaining the necessary audit trail and change history.

top

How It Works

The TFS Revision Manager Tool operates during work item migration to control revision processing:

  1. Revision Analysis: Analyzes the revision history of source work items
  2. Revision Limiting: Applies maximum revision limits when configured
  3. Replay Control: Determines whether to replay all revisions or migrate final state only
  4. Performance Optimization: Reduces migration overhead by controlling revision volume
  5. History Preservation: Maintains essential change history based on configuration

The tool integrates with work item migration processors to optimize the migration process based on your requirements.

top

Use Cases

Common scenarios where the TFS Revision Manager Tool is essential:

  • Performance Optimization: Reducing migration time by limiting revision history
  • Large Work Item Migration: Managing memory and performance for work items with extensive history
  • Selective History: Preserving only recent or important revisions
  • Audit Compliance: Maintaining complete revision history when required
  • Migration Efficiency: Balancing historical data with migration speed
top

Configuration Structure

top

Options

Parameter
Type
Required
Description
Default Value
Parameter:
Enabled
Type:
Boolean
Required:
false
Description:
If set to true then the tool will run. Set to false and the processor will not run.
Default:
true
Parameter:
MaxRevisions
Type:
Int32
Required:
false
Description:
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.
Default:
Not specified
Parameter:
ReplayRevisions
Type:
Boolean
Required:
false
Description:
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.
Default:
true
top

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "TfsRevisionManagerTool": {
        "Enabled": "True",
        "MaxRevisions": "0",
        "ReplayRevisions": "True"
      }
    }
  }
}
top

Defaults

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "TfsRevisionManagerTool": {
        "Enabled": "True",
        "MaxRevisions": "0",
        "ReplayRevisions": "True"
      }
    }
  }
}
top

Basic Examples

The TFS Revision Manager Tool provides configuration options for revision control:

{
  "TfsRevisionManagerTool": {
    "Enabled": true,
    "ReplayRevisions": true,
    "MaxRevisions": 100
  }
}
top

Complex Examples

top

Configuration Options

  • Enabled: Controls whether revision management is active during migration
  • ReplayRevisions: Whether to replay all revisions or migrate only final state
  • MaxRevisions: Maximum number of revisions to migrate per work item
top

Common Scenarios

top

Complete History Migration

Migrate all revisions while maintaining performance limits:

{
  "TfsRevisionManagerTool": {
    "Enabled": true,
    "ReplayRevisions": true,
    "MaxRevisions": 500
  }
}
top

Limited History Migration

Migrate only recent revisions to optimize performance:

{
  "TfsRevisionManagerTool": {
    "Enabled": true,
    "ReplayRevisions": true,
    "MaxRevisions": 50
  }
}
top

Final State Only

Migrate only the final state of work items for maximum performance:

{
  "TfsRevisionManagerTool": {
    "Enabled": true,
    "ReplayRevisions": false,
    "MaxRevisions": 1
  }
}
top

Balanced Approach

Moderate revision limit for balanced performance and history:

{
  "TfsRevisionManagerTool": {
    "Enabled": true,
    "ReplayRevisions": true,
    "MaxRevisions": 100
  }
}
top

Good Practices

top

Revision Strategy

  • Assess Requirements: Determine how much revision history is actually needed
  • Performance Testing: Test migration performance with different revision limits
  • Stakeholder Alignment: Align revision strategy with business requirements
  • Audit Compliance: Consider compliance requirements for change history
top

Performance Optimization

  • Start Conservative: Begin with lower revision limits and increase if needed
  • Monitor Resources: Watch memory and performance during migration
  • Batch Testing: Test revision settings with small batches first
  • Target System Limits: Consider target system performance with large revision counts
top

Configuration Management

  • Environment Specific: Use different revision limits for different environments
  • Documentation: Document revision management decisions and rationale
  • Testing Strategy: Test different revision scenarios before full migration
  • Backup Strategy: Ensure source data is backed up before applying revision limits
top

Troubleshooting

top

Common Issues

Performance Problems:

  • Reduce MaxRevisions to improve migration speed
  • Consider setting ReplayRevisions to false for performance-critical migrations
  • Monitor memory usage during migration
  • Review overall migration batch sizes

Incomplete History:

  • Increase MaxRevisions if more history is needed
  • Ensure ReplayRevisions is set to true for complete history
  • Verify revision limits meet business requirements
  • Check source work item revision counts

Configuration Errors:

  • Verify the tool is enabled ("Enabled": true)
  • Check that MaxRevisions is set to a reasonable number
  • Ensure ReplayRevisions setting matches requirements
  • Validate configuration syntax

Memory Issues:

  • Reduce MaxRevisions for work items with extensive history
  • Consider migrating work items in smaller batches
  • Monitor system memory during migration
  • Review target system memory requirements
top

Schema

This is the JSON schema that defines the structure and validation rules for this configuration.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://devopsmigration.io/schema/schema.tools.tfsrevisionmanagertool.json",
  "title": "TfsRevisionManagerTool",
  "description": "The TfsRevisionManagerTool manipulates the revisions of a work item to reduce the number of revisions that are migrated.",
  "type": "object",
  "properties": {
    "Enabled": {
      "description": "If set to `true` then the tool will run. Set to `false` and the processor will not run.",
      "type": "boolean",
      "default": "true"
    },
    "MaxRevisions": {
      "description": "Sets the maximum number of revisions that will be migrated. \"First + Last N = Max\".\r\n If this was set to 5 and there were 10 revisions you would get the first 1 (creation) and the latest 4 migrated.",
      "type": "integer",
      "default": "0"
    },
    "ReplayRevisions": {
      "description": "You can choose to migrate the tip only (a single write) or all of the revisions (many writes).\r\n If you are setting this to `false` to migrate only the tip then you should set `BuildFieldTable` to `true`.",
      "type": "boolean",
      "default": "true"
    }
  }
}
Project Information
Azure DevOps Marketplace
YouTube Channel
Maintainer

Created and maintained by Martin Hinshelwood of nkdagility.com

Getting Support
Community Support
Questions & Discussions

The first place to look for usage, configuration, and general help.

Commercial Support

We provide training, ad-hoc support, and full service migrations through our professional services.

Azure DevOps Migration Services
Documentation