What You Will Need Before Starting #
- TortoiseSVN installed on your computer
- A plain text editor, such as Notepad++, installed on your computer
Creating A Patch With TortoiseSVN #
1. Editing/Saving A File #
Open the folder, and find the file you need to change. Open it in your favorite plain-text editor. Note: Do not use a rich-text editor such as Word or OpenOffice to edit the files.
Make the changes necessary, then save the file.
You will notice that the green checkmark has changed to a red exclamation point. That means the file has been changed, and is no longer in sync with the repo version.
2. Creating/Naming A Patch #
Next you will create the patch file. Right-click in the root directory of your SVN checkout folder, and select SVN Create Patch.
A pop-up window will show you the list of changed files. Make sure the file(s) you want to include in the patch are checked, then click OK.
You will be prompted to save the file. Create a folder called patches, then type in the filename you want to save it as. Use the format ticket#.patch.
The TortoiseUDiff editor will open and show you the patch file you just created.