VTK/Boneyard/Creating a patch

From KitwarePublic
< VTK
Revision as of 13:50, 20 October 2009 by Daviddoria (talk | contribs) (New page: If you do not have cvs write access and you want to make a change to a VTK file, the best way is to create a patch against the existing file. Consider two files, File1 and File2. File2 is...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If you do not have cvs write access and you want to make a change to a VTK file, the best way is to create a patch against the existing file.

Consider two files, File1 and File2. File2 is a ``new version of File1. To create the patch: <source lang="text"> diff -uN File1 File2 > patch.txt| </source>

If you want to create a patch of several files at the same time:

Consider two folders, Folder1 and Folder2. Folder2 is a ``new version of Folder1. To create the patch, the procedure is the same: <source lang="text"> diff -uN Folder1 Folder2 > patch.txt| </source>