3 # Test display and options specific to the main view.
11 set vertical-split = no
16 :save-display main-default.screen
17 :set reference-format = (branch) [tag] @remote
18 :save-display main-ref-format.screen
19 :set reference-format = (branch) [tag] hide:remote
20 :save-display main-remotes-hidden.screen
22 :toggle commit-title-refs
23 :save-display main-no-refs.screen
24 :toggle commit-title-graph
25 :save-display main-no-graph.screen
27 :957f2b368e6fa5c0757f36b1441e32729ee5e9c7
29 :save-display main-with-diff.screen
31 :save-display main-with-diff-next.screen
38 assert_equals
'main-default.screen' <<EOF
39 2010-04-07 05:37 Max Power o [master] {origin/master} {origin/HEAD}
40 2010-03-29 17:15 Jørgen Thygesen Brahe o Commit 10 D
41 2010-03-21 04:53 作者 o Commit 10 C
42 2010-03-12 16:31 René Lévesque o Commit 10 B
43 2010-03-04 04:09 A. U. Thor o Commit 10 A
44 2010-02-23 15:46 Max Power o Commit 9 E
45 2010-02-15 03:24 Jørgen Thygesen Brahe o Commit 9 D
46 2010-02-06 15:02 作者 o Commit 9 C
47 2010-01-29 02:40 René Lévesque o Commit 9 B
48 2010-01-20 14:18 A. U. Thor o Commit 9 A
49 2010-01-12 01:56 Max Power o Commit 8 E
50 2010-01-03 13:33 Jørgen Thygesen Brahe o Commit 8 D
51 2009-12-26 01:11 作者 o Commit 8 C
52 2009-12-17 12:49 René Lévesque o <v1.0> Commit 8 B
53 [main] 5cb3412a5e06e506840495b91acc885037a48b72 - commit 1 of 50 28%
56 assert_equals
'main-ref-format.screen' <<EOF
57 2010-04-07 05:37 Max Power o (master) @origin/master @origin/HEAD Co
58 2010-03-29 17:15 Jørgen Thygesen Brahe o Commit 10 D
59 2010-03-21 04:53 作者 o Commit 10 C
60 2010-03-12 16:31 René Lévesque o Commit 10 B
61 2010-03-04 04:09 A. U. Thor o Commit 10 A
62 2010-02-23 15:46 Max Power o Commit 9 E
63 2010-02-15 03:24 Jørgen Thygesen Brahe o Commit 9 D
64 2010-02-06 15:02 作者 o Commit 9 C
65 2010-01-29 02:40 René Lévesque o Commit 9 B
66 2010-01-20 14:18 A. U. Thor o Commit 9 A
67 2010-01-12 01:56 Max Power o Commit 8 E
68 2010-01-03 13:33 Jørgen Thygesen Brahe o Commit 8 D
69 2009-12-26 01:11 作者 o Commit 8 C
70 2009-12-17 12:49 René Lévesque o [v1.0] Commit 8 B
71 [main] 5cb3412a5e06e506840495b91acc885037a48b72 - commit 1 of 50 28%
74 assert_equals
'main-remotes-hidden.screen' <<EOF
75 2010-04-07 05:37 Max Power o (master) Commit 10 E
76 2010-03-29 17:15 Jørgen Thygesen Brahe o Commit 10 D
77 2010-03-21 04:53 作者 o Commit 10 C
78 2010-03-12 16:31 René Lévesque o Commit 10 B
79 2010-03-04 04:09 A. U. Thor o Commit 10 A
80 2010-02-23 15:46 Max Power o Commit 9 E
81 2010-02-15 03:24 Jørgen Thygesen Brahe o Commit 9 D
82 2010-02-06 15:02 作者 o Commit 9 C
83 2010-01-29 02:40 René Lévesque o Commit 9 B
84 2010-01-20 14:18 A. U. Thor o Commit 9 A
85 2010-01-12 01:56 Max Power o Commit 8 E
86 2010-01-03 13:33 Jørgen Thygesen Brahe o Commit 8 D
87 2009-12-26 01:11 作者 o Commit 8 C
88 2009-12-17 12:49 René Lévesque o [v1.0] Commit 8 B
89 [main] 5cb3412a5e06e506840495b91acc885037a48b72 - commit 1 of 50 28%
92 assert_equals
'main-no-refs.screen' <<EOF
93 2010-04-07 05:37 Max Power o Commit 10 E
94 2010-03-29 17:15 Jørgen Thygesen Brahe o Commit 10 D
95 2010-03-21 04:53 作者 o Commit 10 C
96 2010-03-12 16:31 René Lévesque o Commit 10 B
97 2010-03-04 04:09 A. U. Thor o Commit 10 A
98 2010-02-23 15:46 Max Power o Commit 9 E
99 2010-02-15 03:24 Jørgen Thygesen Brahe o Commit 9 D
100 2010-02-06 15:02 作者 o Commit 9 C
101 2010-01-29 02:40 René Lévesque o Commit 9 B
102 2010-01-20 14:18 A. U. Thor o Commit 9 A
103 2010-01-12 01:56 Max Power o Commit 8 E
104 2010-01-03 13:33 Jørgen Thygesen Brahe o Commit 8 D
105 2009-12-26 01:11 作者 o Commit 8 C
106 2009-12-17 12:49 René Lévesque o Commit 8 B
107 [main] 5cb3412a5e06e506840495b91acc885037a48b72 - commit 1 of 50 28%
110 assert_equals
'main-no-graph.screen' <<EOF
111 2010-04-07 05:37 Max Power Commit 10 E
112 2010-03-29 17:15 Jørgen Thygesen Brahe Commit 10 D
113 2010-03-21 04:53 作者 Commit 10 C
114 2010-03-12 16:31 René Lévesque Commit 10 B
115 2010-03-04 04:09 A. U. Thor Commit 10 A
116 2010-02-23 15:46 Max Power Commit 9 E
117 2010-02-15 03:24 Jørgen Thygesen Brahe Commit 9 D
118 2010-02-06 15:02 作者 Commit 9 C
119 2010-01-29 02:40 René Lévesque Commit 9 B
120 2010-01-20 14:18 A. U. Thor Commit 9 A
121 2010-01-12 01:56 Max Power Commit 8 E
122 2010-01-03 13:33 Jørgen Thygesen Brahe Commit 8 D
123 2009-12-26 01:11 作者 Commit 8 C
124 2009-12-17 12:49 René Lévesque Commit 8 B
125 [main] 5cb3412a5e06e506840495b91acc885037a48b72 - commit 1 of 50 28%
128 assert_equals
'main-with-diff.screen' <<EOF
129 2010-01-12 01:56 Max Power Commit 8 E
130 2010-01-03 13:33 Jørgen Thygesen Brahe Commit 8 D
131 2009-12-26 01:11 作者 Commit 8 C
132 2009-12-17 12:49 René Lévesque Commit 8 B
133 [main] 957f2b368e6fa5c0757f36b1441e32729ee5e9c7 - commit 14 of 50 28%
134 commit 957f2b368e6fa5c0757f36b1441e32729ee5e9c7
136 Author: René Lévesque <rene.levesque@example.qc.ca>
137 AuthorDate: Thu Dec 17 12:49:30 2009 +0000
138 Commit: Committer <c.ommitter@example.net>
139 CommitDate: Thu Dec 17 12:49:30 2009 +0000
143 [diff] 957f2b368e6fa5c0757f36b1441e32729ee5e9c7 - line 1 of 8 100%