hgbook

diff fr/examples/ch11/qdelete @ 966:39d37f84beaf

adding more new files - probably generated but still in versionning
author Romain PELISSE <belaran@gmail.com>
date Sun Aug 16 13:20:24 2009 +0200 (2009-08-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fr/examples/ch11/qdelete	Sun Aug 16 13:20:24 2009 +0200
     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