README
changeset 1466 1bacd35b57e6
parent 1465 f0d113f0820e
child 1490 bb70615043cb
     1.1 --- a/README	Fri Aug 07 18:30:45 2009 +0200
     1.2 +++ b/README	Fri Aug 07 18:24:25 2009 +0200
     1.3 @@ -45,6 +45,35 @@
     1.4  The SoB line is clearly described in Documentation/SubmittingPatches , section
     1.5  12, of your favourite Linux kernel source tree.
     1.6  
     1.7 +Then you'll need to correctly configure Mercurial. There are two extensions
     1.8 +that you may find usefull:
     1.9 +  - mq        : http://mercurial.selenic.com/wiki/MqExtension
    1.10 +  - patchbomb : http://mercurial.selenic.com/wiki/PatchbombExtension
    1.11 +
    1.12 +Here's a typical hacking session:
    1.13 +  hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng crosstool-ng
    1.14 +  cd crosstool-ng
    1.15 +  hg qinit
    1.16 +  hg qnew -D -U -e my_first_patch
    1.17 +  *edit patch description*
    1.18 +  *hack* *hack* *check* *fails* *hack* *hack* *check* *works*
    1.19 +  hg qref -D -e
    1.20 +  *edit patch description, serving as commit message*
    1.21 +  hg qnew -D -U -e my_second_patch
    1.22 +  *edit patch description*
    1.23 +  *hack* *hack* *check* *fails* *hack* *hack* *check* *works*
    1.24 +  hg qref -D -e
    1.25 +  *edit patch description, serving as commit message*
    1.26 +  hg email --outgoing --intro   \
    1.27 +           --from '"Your Full NAME" <your.email (at) your.domain>'   \
    1.28 +           --to '"Yann E. MORIN" <yann.morin.1998 (at) anciens.enib.fr>'    \
    1.29 +           --cc 'crossgcc (at) sourceware.org'
    1.30 +  *edit introductory message*
    1.31 +  *wait for feedback*
    1.32 +  *re-send if no answer for a few days*
    1.33 +
    1.34 +Note: replace' (at) ' above with a plain '@'.
    1.35 +
    1.36  CREDITS /
    1.37  _______/
    1.38