How To Create Patch For Stendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
Tortoise CVS
imported>Kymara
No edit summary
Line 15: Line 15:
{{TODO|list more best practice tips}}
{{TODO|list more best practice tips}}


== Eclipse way ==
== Creating patches ==
=== 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.
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: Line 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.
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 ==
=== Command line ===
In your stendhal code development folder type:
In your stendhal code development folder type:


Line 52: Line 53:
cvs diff -uNawbB > descriptive_name.patch
cvs diff -uNawbB > descriptive_name.patch


== Tortoise CVS way ==
=== Tortoise CVS ===
[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.
[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}}