How To Create Patch For Stendhal: Difference between revisions

Content deleted Content added
imported>Kymara
Tortoise CVS
imported>Kymara
No edit summary
Line 15:
{{TODO|list more best practice tips}}
 
== EclipseCreating waypatches ==
=== Eclipse ===
When you use Eclipse it is quite easy for you to create a patch against current head version in CVS. Before creating a patch you should update your local copy of the sources to the most recent version.
 
Line 32 ⟶ 33:
After clicking on finish you will not get any further notice but the patch file should now be available in the previously selected folder.
 
=== Command line way ===
In your stendhal code development folder type:
 
Line 52 ⟶ 53:
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.
 
== Reading patch files ==
 
{{TODO| add example}}