comparison ja/examples/tag @ 290:b0db5adf11c1 ja_root

fork Japanese translation.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 06 Feb 2008 17:43:11 +0900
parents en/examples/tag@4237e45506ee
children
comparison
equal deleted inserted replaced
289:7be02466421b 290:b0db5adf11c1
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