comparison en/examples/ch11/qdelete @ 809:ef53d025f410

Mention qdelete and qimport -r.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 23 Apr 2009 22:24:02 -0700
parents
children f3f901cfbfc7
comparison
equal deleted inserted replaced
808:557552d4699f 809:ef53d025f410
1 #!/bin/bash
2
3 echo '[extensions]' >> $HGRC
4 echo 'hgext.mq =' >> $HGRC
5
6 #$ name: go
7
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
18
19 #$ name: convert
20
21 hg qnew good.patch
22 echo a > a
23 hg add a
24 hg qrefresh -m 'Good change'
25 hg qdelete -r tip
26 hg qapplied
27 hg tip --style=compact
28
29 #$ name: import
30
31 hg qimport -r tip
32 hg qapplied