Creating and Applying a Patch

See Also

Patch files enable software developers who are not sharing a common repository to distribute and integrate changes that have been made to the code. The IDE enables you to create and apply patches that update copies of source files so that you do not have to incorporate the changes manually.

To create a patch file of the differences between a locally modified copy of a file and the repository version:

  1. Select the file or folder for which you want to create a patch in the Projects, Files, or Search History window.
  2. Choose CVS > Export <file_name> Diff Patch from the main menu.
  3. Enter a name for the patch file and specify the location where you want to save the patch.
  4. Click Export.

    A patch file is created in the specified location containing the differences between the source file versions.

To apply a patch:

  1. In the Projects, Files, or Favorites window, right-click the file or folder on which you want to apply the patch and choose Tools > Apply Patch.
  2. Type the path or navigate to the patch file you want to apply.
  3. Click Patch.

Notes:

See Also
Merging File Revisions from a Branch
Resolving Merge Conflicts
Comparing File Revisions in CVS

Legal Notices