Create Patch Between Two Revisions of an Item
This type of patch contains historical changes between two revisions of a selected item.
This option is useful if you want to share changes between two revisions with other team members.
Tip: If you need to generate a patch between two revisions of a previously
deleted, moved, or replaced item, you should use the Create patch
between two repository items option instead.
The steps are
as follows:-
Go to menu
.This opens the Create patch wizard.
- Select the Create patch between two revisions of an item option in the dialog box.
-
Click the Next button.
The second step of the wizard is opened:
-
Select the starting and ending revisions in the From and
To sections.
You can select between the HEAD revision and a specific revision number. For the other revision option, you can click the History button to display a list of the item revisions.Note: The patch will only include changes between the two specified revisions, starting with the changes that were made after the older revision.Tip: If you want to reverse changes done between two revisions by using a patch file, you can specify the newer revision in the From section and the older version in the To section.
-
Optionally, if you want to configure
the options for your patch, click the Next button.
This options page does not remember your selections when creating future patches. It will revert to the default values.The Options wizard page is displayed.
-
Click the Create patch button.
The patch is created and stored in the path specified in the Output section of the Options page or in the default location.