About Patch
SVN Patch Introduction: Skillfully Use the SVN create patch (patching) solution to solve the demand for the customized version
SVN Create patch
1. In the SVN submission list, right-click on "Create Patch"
2. Select Save location, save the file as follows
3. You can choose the tool that comes with SVN to open the patch file, but we recommend using beyond compare to open the patch file.
4, if you create a patch file is garbled (note: File format unified for UTF-8)
Possible causes:
1, you submit the file list, there are some GBK encoding, some UTF-8 encoding
2. The system environment is Chinese
Fix garbled
1. Open the environment variable of the system and add the new environment variable
Variable name: LANG
Variable value: en_US. UTF-8
Note: If the file encoding to be submitted is GBK, you can try to change the value of the variable to: ZH_CN. UTF8
2, re-create patches, garbled problem solved.
SVN Patch Chinese garbled