1
edit
mNo edit summary |
|||
| Line 16: | Line 16: | ||
diff -Nu /dev/null ''new-file-name'' >> patch.diff | diff -Nu /dev/null ''new-file-name'' >> patch.diff | ||
Where ''new-file-name'' is the name of the file you added. | Where ''new-file-name'' is the name of the file you added. | ||
== Using CVS On Windows== | |||
The process of creating patches on a windows OS is slightly different. When adding a new file to a patch you will need to add entry for each new file to the appropriate CVS/entries file. | |||
1. Change to your Bugzilla directory: | |||
cd C:\Inetpub\wwwroot\bugzilla | |||
2. Make the patch by doing: | |||
cvs diff -Nup > patch.diff | |||
At the top of the patch.diff file you will see references to unknown/new files: | |||
? images/newimage.gif | |||
3. Add new files to the patch by adding an entry to the top of the appropriate CVS/entries file for each file you are adding: | |||
/new-file-name/0/// | |||
Where ''new-file-name'' is the name of the file you added. | |||
3. Make the patch by doing: | |||
cvs diff -Nu > patch.diff | |||
You now have a file called patch.diff! It includes all your changes and additions. | |||
== Using diff == | == Using diff == | ||
edit