hgbook

view en/examples/ch11/qdelete @ 1004:0298bccbb8ee

french small corrections, gestion de révisions au lieu de gestion de sources ou gestion de versions.
author Wilk
date Sun Sep 13 14:08:00 2009 +0200 (2009-09-13)
parents ef53d025f410
children
line source
1 #!/bin/bash
3 echo '[extensions]' >> $HGRC
4 echo 'hgext.mq =' >> $HGRC
6 #$ name: go
8 hg init myrepo
9 cd myrepo
10 hg qinit
11 hg qnew bad.patch
12 echo a > a
13 hg add a
14 hg qrefresh
15 hg qdelete bad.patch
16 hg qpop
17 hg qdelete bad.patch
19 #$ name: convert
21 hg qnew good.patch
22 echo a > a
23 hg add a
24 hg qrefresh -m 'Good change'
25 hg qfinish tip
26 hg qapplied
27 hg tip --style=compact
29 #$ name: import
31 hg qimport -r tip
32 hg qapplied