How To Create Patch For Stendhal: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara No edit summary |
imported>Kymara Tortoise CVS |
||
| Line 3: | Line 3: | ||
A '''patch file''' is a record of all the changes made to the code. It is one file in a particular format which defines which source files, and which lines of the source files are to be changed, as well as the changes themself. As you can imagine this makes adding changes a much smoother process. |
A '''patch file''' is a record of all the changes made to the code. It is one file in a particular format which defines which source files, and which lines of the source files are to be changed, as well as the changes themself. As you can imagine this makes adding changes a much smoother process. |
||
There are |
There are a few neat ways to make a patch file. We are going to describe here how to create a patch on each of this ways. |
||
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal. |
As a prerequisite for both ways of creating a patch is a checked out version of Stendhal. |
||
| Line 51: | Line 51: | ||
cvs diff -uNawbB > descriptive_name.patch |
cvs diff -uNawbB > descriptive_name.patch |
||
== Tortoise CVS way == |
|||
[http://www.tortoisecvs.org/ Tortoise CVS] is a Windows GUI front end for CVS. So, if you are using Tortoise CVS already, you can create a patch. Right-click on the stendhal code development folder in CVS, and choose '''CVS -> Make patch ...''' from the context menu. |
|||