Kiln » Kiln Extensions
Clone URL:  
test-forget.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% setup hg init -q hg add -q normal1 sub/normal2 sub/normal3.txt sub/normal4.txt hg commit -m 'add normal files' % add bfiles hg add -q --bf big1 sub/big2 sub/big3.txt hg commit -m 'added bfiles' % forget sub/*.txt hg forget 'glob:sub/*.txt' hg status hg commit -m 'forget bfiles' % test update hg up -r 1 hg up % forget single normal files hg forget normal1 hg forget sub/normal2 hg status % forget single bfiles hg forget big1 hg forget sub/big2 hg status hg commit -m 'all gone' hg status % setup hg init hg add n1 n2.txt ../n3.foo hg add --bf b1 b2.txt ../b3.foo hg status hg commit -m 'add files' % test forget and add hg forget 'glob:../*.foo' hg status hg add ../n3.foo hg add --bf ../b3.foo hg status hg commit -m 'did i change things?' hg forget ../n3.foo ../b3.foo hg status hg commit -m 'forget files' hg status hg forget 'glob:*.txt' hg status hg commit -m 'forget files' hg status