comparison es/examples/mq.guards @ 432:04c08ad7e92e

Translated svgs dummy .tex towards building
author Igor TAmara <igor@tamarapatino.org>
date Sat, 18 Oct 2008 07:48:21 -0500
parents
children
comparison
equal deleted inserted replaced
431:d13a05515acf 432:04c08ad7e92e
1 #!/bin/bash
2
3 echo '[extensions]' >> $HGRC
4 echo 'hgext.mq =' >> $HGRC
5
6 hg init a
7 cd a
8
9 #$ name: init
10
11 hg qinit
12 hg qnew hello.patch
13 echo hello > hello
14 hg add hello
15 hg qrefresh
16 hg qnew goodbye.patch
17 echo goodbye > goodbye
18 hg add goodbye
19 hg qrefresh
20
21 #$ name: qguard
22
23 hg qguard
24
25 #$ name: qguard.pos
26
27 hg qguard +foo
28 hg qguard
29
30 #$ name: qguard.neg
31
32 hg qguard hello.patch -quux
33 hg qguard hello.patch
34
35 #$ name: series
36
37 cat .hg/patches/series
38
39 #$ name: qselect.foo
40
41 hg qpop -a
42 hg qselect
43 hg qselect foo
44 hg qselect
45
46 #$ name: qselect.cat
47
48 cat .hg/patches/guards
49
50 #$ name: qselect.qpush
51 hg qpush -a
52
53 #$ name: qselect.error
54
55 hg qselect +foo
56
57 #$ name: qselect.quux
58
59 hg qselect quux
60 hg qpop -a
61 hg qpush -a
62
63 #$ name: qselect.foobar
64
65 hg qselect foo bar
66 hg qpop -a
67 hg qpush -a