You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "rleland@apache.org" <le...@speakeasy.net> on 2004/02/26 04:44:28 UTC
[PATCH][On Contributing Patches]
http://jakarta.apache.org/commons/patches.html
Every time I apply patches I have to go read the manual again,
and there isn't a wealth of examples.
A meager but helpful reference is:
http://www.network-theory.co.uk/articles/patchintro.html
Probably the best advice is to first try:
the '--dry-run' option to experiment with the options
until a combination is found that works.
For example using just
patch --dry-run -i japanese.diff
doesn't work, ie patch couldn't figure out that
the patch was created with the '-u' option.
So this combination works most of the time:
patch --dry-run -u -p0 -i japanese.diff
Then when the patch applies cleanly the '--dry-run'
can be safely removed and the patch applied for real.
-Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [PATCH][On Contributing Patches]
Posted by "J.Pietschmann" <j3...@yahoo.de>.
rleland@apache.org wrote:
about preparing patches]
Would you mind adding your experiences to
http://nagoya.apache.org/wiki/apachewiki.cgi?ToolChest/Contributors
or find some place in the new general Wiki
http://wiki.apache.org/general
(don't be afraid to bother the admins!)
Thank you!
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org