From c57a08f7bc2b0112e85ab196c4f33ac9563425a0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 7 Aug 2009 18:24:25 +0200 Subject: 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 --git a/README b/README index b90d07e..855b9d7 100644 --- a/README +++ b/README @@ -45,6 +45,35 @@ Patches should come with the appropriate SoB line. A SoB line is typically 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 / _______/ -- cgit v0.10.2-6-g49f6