comparison tests/test-log @ 2785:e7f70588af30

Test suite for log --follow and --follow-first.
author Brendan Cully <brendan@kublai.com>
date Thu, 03 Aug 2006 15:12:15 -0700
parents ae5ce3454ef5
children 9826af4841ef
comparison
equal deleted inserted replaced
2784:12a7bfcafd8f 2785:e7f70588af30
26 hg log -f 26 hg log -f
27 echo % one rename 27 echo % one rename
28 hg log -vf a 28 hg log -vf a
29 echo % many renames 29 echo % many renames
30 hg log -vf e 30 hg log -vf e
31
32 # log --follow tests
33 hg init ../follow
34 cd ../follow
35 echo base > base
36 hg ci -Ambase -d '1 0'
37
38 echo r1 >> base
39 hg ci -Amr1 -d '1 0'
40 echo r2 >> base
41 hg ci -Amr2 -d '1 0'
42
43 hg up -C 1
44 echo b1 > b1
45 hg ci -Amb1 -d '1 0'
46
47 echo % log -f
48 hg log -f
49
50 hg up -C 0
51 echo b2 > b2
52 hg ci -Amb2 -d '1 0'
53
54 echo % log -f -r 1:tip
55 hg log -f -r 1:tip
56
57 hg up -C 3
58 hg merge tip
59 hg ci -mm12 -d '1 0'
60
61 echo postm >> b1
62 hg ci -Amb1.1 -d'1 0'
63
64 echo % log --follow-first
65 hg log --follow-first