# HG changeset patch # User "Yann E. MORIN" # Date 1249662265 -7200 # Node ID 1bacd35b57e6f3bd6988067915b4beaa94333cad # Parent f0d113f0820e30d23682ad04dcbece28a627826c Update README on how to send proper patches Add a few lines of explanations on how to correctly setup and use Mercurial to send proper patches. diff -r f0d113f0820e -r 1bacd35b57e6 README --- a/README Fri Aug 07 18:30:45 2009 +0200 +++ b/README Fri Aug 07 18:24:25 2009 +0200 @@ -45,6 +45,35 @@ The SoB line is clearly described in Documentation/SubmittingPatches , section 12, of your favourite Linux kernel source tree. +Then you'll need to correctly configure Mercurial. There are two extensions +that you may find usefull: + - mq : http://mercurial.selenic.com/wiki/MqExtension + - patchbomb : http://mercurial.selenic.com/wiki/PatchbombExtension + +Here's a typical hacking session: + hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng crosstool-ng + cd crosstool-ng + hg qinit + hg qnew -D -U -e my_first_patch + *edit patch description* + *hack* *hack* *check* *fails* *hack* *hack* *check* *works* + hg qref -D -e + *edit patch description, serving as commit message* + hg qnew -D -U -e my_second_patch + *edit patch description* + *hack* *hack* *check* *fails* *hack* *hack* *check* *works* + hg qref -D -e + *edit patch description, serving as commit message* + hg email --outgoing --intro \ + --from '"Your Full NAME" ' \ + --to '"Yann E. MORIN" ' \ + --cc 'crossgcc (at) sourceware.org' + *edit introductory message* + *wait for feedback* + *re-send if no answer for a few days* + +Note: replace' (at) ' above with a plain '@'. + CREDITS / _______/