Mercurial > hgbook
comparison es/examples/tag @ 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 #$ name: init | |
4 | |
5 hg init mytag | |
6 cd mytag | |
7 | |
8 echo hello > myfile | |
9 hg commit -A -m 'Initial commit' | |
10 | |
11 #$ name: tag | |
12 | |
13 hg tag v1.0 | |
14 | |
15 #$ name: tags | |
16 | |
17 hg tags | |
18 | |
19 #$ name: log | |
20 | |
21 hg log | |
22 | |
23 #$ name: log.v1.0 | |
24 | |
25 echo goodbye > myfile2 | |
26 hg commit -A -m 'Second commit' | |
27 hg log -r v1.0 | |
28 | |
29 #$ name: remove | |
30 | |
31 hg tag --remove v1.0 | |
32 hg tags | |
33 | |
34 #$ name: replace | |
35 | |
36 hg tag -r 1 v1.1 | |
37 hg tags | |
38 hg tag -r 2 v1.1 | |
39 hg tag -f -r 2 v1.1 | |
40 hg tags | |
41 | |
42 #$ name: tip | |
43 | |
44 hg tip |