hgbook

diff fr/examples/ch11/qdelete @ 1114:527b86d55d4a

inotify: update installation information

inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sun Dec 13 16:35:56 2009 +0900 (2009-12-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fr/examples/ch11/qdelete	Sun Dec 13 16:35:56 2009 +0900
     1.3 @@ -0,0 +1,32 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +echo '[extensions]' >> $HGRC
     1.7 +echo 'hgext.mq =' >> $HGRC
     1.8 +
     1.9 +#$ name: go
    1.10 +
    1.11 +hg init myrepo
    1.12 +cd myrepo
    1.13 +hg qinit
    1.14 +hg qnew bad.patch
    1.15 +echo a > a
    1.16 +hg add a
    1.17 +hg qrefresh
    1.18 +hg qdelete bad.patch
    1.19 +hg qpop
    1.20 +hg qdelete bad.patch
    1.21 +
    1.22 +#$ name: convert
    1.23 +
    1.24 +hg qnew good.patch
    1.25 +echo a > a
    1.26 +hg add a
    1.27 +hg qrefresh -m 'Good change'
    1.28 +hg qfinish tip
    1.29 +hg qapplied
    1.30 +hg tip --style=compact
    1.31 +
    1.32 +#$ name: import
    1.33 +
    1.34 +hg qimport -r tip
    1.35 +hg qapplied