comparison ja/examples/rollback @ 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/rollback@9094c9fda8ec
children
comparison
equal deleted inserted replaced
289:7be02466421b 290:b0db5adf11c1
1 #!/bin/bash
2
3 hg init a
4 cd a
5 echo a > a
6 hg ci -A -m 'First commit'
7
8 echo a >> a
9
10 #$ name: tip
11
12 #$ name: commit
13
14 hg status
15 echo b > b
16 hg commit -m 'Add file b'
17
18 #$ name: status
19
20 hg status
21 hg tip
22
23 #$ name: rollback
24
25 hg rollback
26 hg tip
27 hg status
28
29 #$ name: add
30
31 hg add b
32 hg commit -m 'Add file b, this time for real'
33
34 #$ name: twice
35
36 hg rollback
37 hg rollback