Kiln » Kiln Extensions
Clone URL:  
test-revert.py.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% setup hg init -q hg add n1 n2.txt dir/n3 dir/dir/n4.txt hg add --bf hg status hg commit -m 'added files' hg commit -m 'edit files' hg rename 'glob:**.txt' txtfiles hg commit -m 'rename files' hg rm n1 dir/b3 hg commit -m 'remove files' % revert all hg revert -a hg status hg revert -a -r 0 hg status hg revert -a hg status % revert specific files hg revert -r 1 'glob:**.txt' hg status hg revert -r 0 n2.txt b2.txt hg status hg init -q hg add n1 hg commit -m 'added normal file' hg add --bf b1 hg commit -m 'added bfile' hg revert n1 hg init -q hg add --bf b1 hg commit -m 'added first bfile' hg add --bf b2 hg commit -m 'added second bfile' hg revert b1