##// END OF EJS Templates
Fix default style so 'log --copies' has a start and an end.
Greg Ward -
r10776:08870cf7 stable
parent child Browse files
Show More
@@ -1,24 +1,24
1 changeset = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n'
1 changeset = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n'
2 changeset_quiet = '{rev}:{node|short}\n'
2 changeset_quiet = '{rev}:{node|short}\n'
3 changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\n{files}{file_copies_switch}description:\n{desc|strip}\n\n\n'
3 changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\n{files}{file_copies_switch}description:\n{desc|strip}\n\n\n'
4 changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{file_mods}{file_adds}{file_dels}{file_copies_switch}{extras}description:\n{desc|strip}\n\n\n'
4 changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{file_mods}{file_adds}{file_dels}{file_copies_switch}{extras}description:\n{desc|strip}\n\n\n'
5 start_files = 'files: '
5 start_files = 'files: '
6 file = ' {file}'
6 file = ' {file}'
7 end_files = '\n'
7 end_files = '\n'
8 start_file_mods = 'files: '
8 start_file_mods = 'files: '
9 file_mod = ' {file_mod}'
9 file_mod = ' {file_mod}'
10 end_file_mods = '\n'
10 end_file_mods = '\n'
11 start_file_adds = 'files+: '
11 start_file_adds = 'files+: '
12 file_add = ' {file_add}'
12 file_add = ' {file_add}'
13 end_file_adds = '\n'
13 end_file_adds = '\n'
14 start_file_dels = 'files-: '
14 start_file_dels = 'files-: '
15 file_del = ' {file_del}'
15 file_del = ' {file_del}'
16 end_file_dels = '\n'
16 end_file_dels = '\n'
17 start_file_copies_switch = 'copies: '
17 start_file_copies = 'copies: '
18 file_copy = ' {name} ({source})'
18 file_copy = ' {name} ({source})'
19 end_file_copies_switch = '\n'
19 end_file_copies = '\n'
20 parent = 'parent: {rev}:{node|formatnode}\n'
20 parent = 'parent: {rev}:{node|formatnode}\n'
21 manifest = 'manifest: {rev}:{node}\n'
21 manifest = 'manifest: {rev}:{node}\n'
22 branch = 'branch: {branch}\n'
22 branch = 'branch: {branch}\n'
23 tag = 'tag: {tag}\n'
23 tag = 'tag: {tag}\n'
24 extra = 'extra: {key}={value|stringescape}\n'
24 extra = 'extra: {key}={value|stringescape}\n'
@@ -1,131 +1,135
1 #!/bin/sh
1 #!/bin/sh
2
2
3 hg init a
3 hg init a
4
4
5 cd a
5 cd a
6 echo a > a
6 echo a > a
7 hg ci -Ama -d '1 0'
7 hg ci -Ama -d '1 0'
8
8
9 hg cp a b
9 hg cp a b
10 hg ci -mb -d '2 0'
10 hg ci -mb -d '2 0'
11
11
12 mkdir dir
12 mkdir dir
13 hg mv b dir
13 hg mv b dir
14 hg ci -mc -d '3 0'
14 hg ci -mc -d '3 0'
15
15
16 hg mv a b
16 hg mv a b
17 echo a > d
17 echo a > d
18 hg add d
18 hg add d
19 hg ci -md -d '4 0'
19 hg ci -md -d '4 0'
20
20
21 hg mv dir/b e
21 hg mv dir/b e
22 hg ci -me -d '5 0'
22 hg ci -me -d '5 0'
23
23
24 hg log a
24 hg log a
25 echo % -f, directory
25 echo % -f, directory
26 hg log -f dir
26 hg log -f dir
27 echo % -f, but no args
27 echo % -f, but no args
28 hg log -f
28 hg log -f
29 echo % one rename
29 echo % one rename
30 hg log -vf a
30 hg log -vf a
31 echo % many renames
31 echo % many renames
32 hg log -vf e
32 hg log -vf e
33
33
34 echo '% log copies with --copies'
34 echo '% log copies with --copies'
35 hg log -vC --template '{rev} {file_copies}\n'
35 hg log -vC --template '{rev} {file_copies}\n'
36 echo '% log copies switch without --copies, with old filecopy template'
36 echo '% log copies switch without --copies, with old filecopy template'
37 hg log -v --template '{rev} {file_copies_switch%filecopy}\n'
37 hg log -v --template '{rev} {file_copies_switch%filecopy}\n'
38 echo '% log copies switch with --copies'
38 echo '% log copies switch with --copies'
39 hg log -vC --template '{rev} {file_copies_switch}\n'
39 hg log -vC --template '{rev} {file_copies_switch}\n'
40
40
41 echo '% log copies with hardcoded style and with --style=default'
42 hg log -vC -r4
43 hg log -vC -r4 --style=default
44
41 echo % log copies, non-linear manifest
45 echo % log copies, non-linear manifest
42 hg up -C 3
46 hg up -C 3
43 hg mv dir/b e
47 hg mv dir/b e
44 echo foo > foo
48 echo foo > foo
45 hg ci -Ame2 -d '6 0'
49 hg ci -Ame2 -d '6 0'
46 hg log -v --template '{rev} {file_copies}\n' -r 5
50 hg log -v --template '{rev} {file_copies}\n' -r 5
47
51
48 echo % log copies, execute bit set
52 echo % log copies, execute bit set
49 chmod +x e
53 chmod +x e
50 hg ci -me3 -d '7 0'
54 hg ci -me3 -d '7 0'
51 hg log -v --template '{rev} {file_copies}\n' -r 6
55 hg log -v --template '{rev} {file_copies}\n' -r 6
52
56
53 echo '% log -p d'
57 echo '% log -p d'
54 hg log -pv d
58 hg log -pv d
55
59
56 # log --follow tests
60 # log --follow tests
57 hg init ../follow
61 hg init ../follow
58 cd ../follow
62 cd ../follow
59
63
60 echo base > base
64 echo base > base
61 hg ci -Ambase -d '1 0'
65 hg ci -Ambase -d '1 0'
62
66
63 echo r1 >> base
67 echo r1 >> base
64 hg ci -Amr1 -d '1 0'
68 hg ci -Amr1 -d '1 0'
65 echo r2 >> base
69 echo r2 >> base
66 hg ci -Amr2 -d '1 0'
70 hg ci -Amr2 -d '1 0'
67
71
68 hg up -C 1
72 hg up -C 1
69 echo b1 > b1
73 echo b1 > b1
70 hg ci -Amb1 -d '1 0'
74 hg ci -Amb1 -d '1 0'
71
75
72 echo % log -f
76 echo % log -f
73 hg log -f
77 hg log -f
74
78
75 hg up -C 0
79 hg up -C 0
76 echo b2 > b2
80 echo b2 > b2
77 hg ci -Amb2 -d '1 0'
81 hg ci -Amb2 -d '1 0'
78
82
79 echo % log -f -r 1:tip
83 echo % log -f -r 1:tip
80 hg log -f -r 1:tip
84 hg log -f -r 1:tip
81
85
82 hg up -C 3
86 hg up -C 3
83 hg merge tip
87 hg merge tip
84
88
85 echo % log -r . with two parents
89 echo % log -r . with two parents
86 hg log -r .
90 hg log -r .
87
91
88 hg ci -mm12 -d '1 0'
92 hg ci -mm12 -d '1 0'
89
93
90 echo % log -r . with one parent
94 echo % log -r . with one parent
91 hg log -r .
95 hg log -r .
92
96
93 echo postm >> b1
97 echo postm >> b1
94 hg ci -Amb1.1 -d'1 0'
98 hg ci -Amb1.1 -d'1 0'
95
99
96 echo % log --follow-first
100 echo % log --follow-first
97 hg log --follow-first
101 hg log --follow-first
98
102
99 echo % log -P 2
103 echo % log -P 2
100 hg log -P 2
104 hg log -P 2
101
105
102 echo '% log -r tip -p --git'
106 echo '% log -r tip -p --git'
103 hg log -r tip -p --git
107 hg log -r tip -p --git
104
108
105 echo '% log -r ""'
109 echo '% log -r ""'
106 hg log -r ''
110 hg log -r ''
107
111
108 echo '% log -r <some unknown node id>'
112 echo '% log -r <some unknown node id>'
109 hg log -r 1000000000000000000000000000000000000000
113 hg log -r 1000000000000000000000000000000000000000
110
114
111 echo '% log -k r1'
115 echo '% log -k r1'
112 hg log -k r1
116 hg log -k r1
113
117
114 echo '% log -d -1'
118 echo '% log -d -1'
115 hg log -d -1
119 hg log -d -1
116
120
117 cd ..
121 cd ..
118
122
119 hg init usertest
123 hg init usertest
120 cd usertest
124 cd usertest
121
125
122 echo a > a
126 echo a > a
123 hg ci -A -m "a" -u "User One <user1@example.org>"
127 hg ci -A -m "a" -u "User One <user1@example.org>"
124 echo b > b
128 echo b > b
125 hg ci -A -m "b" -u "User Two <user2@example.org>"
129 hg ci -A -m "b" -u "User Two <user2@example.org>"
126
130
127 hg log -u "User One <user1@example.org>"
131 hg log -u "User One <user1@example.org>"
128 hg log -u "user1" -u "user2"
132 hg log -u "user1" -u "user2"
129 hg log -u "user3"
133 hg log -u "user3"
130
134
131 exit 0
135 exit 0
@@ -1,278 +1,299
1 adding a
1 adding a
2 changeset: 0:8580ff50825a
2 changeset: 0:8580ff50825a
3 user: test
3 user: test
4 date: Thu Jan 01 00:00:01 1970 +0000
4 date: Thu Jan 01 00:00:01 1970 +0000
5 summary: a
5 summary: a
6
6
7 % -f, directory
7 % -f, directory
8 abort: cannot follow nonexistent file: "dir"
8 abort: cannot follow nonexistent file: "dir"
9 % -f, but no args
9 % -f, but no args
10 changeset: 4:66c1345dc4f9
10 changeset: 4:66c1345dc4f9
11 tag: tip
11 tag: tip
12 user: test
12 user: test
13 date: Thu Jan 01 00:00:05 1970 +0000
13 date: Thu Jan 01 00:00:05 1970 +0000
14 summary: e
14 summary: e
15
15
16 changeset: 3:7c6c671bb7cc
16 changeset: 3:7c6c671bb7cc
17 user: test
17 user: test
18 date: Thu Jan 01 00:00:04 1970 +0000
18 date: Thu Jan 01 00:00:04 1970 +0000
19 summary: d
19 summary: d
20
20
21 changeset: 2:41dd4284081e
21 changeset: 2:41dd4284081e
22 user: test
22 user: test
23 date: Thu Jan 01 00:00:03 1970 +0000
23 date: Thu Jan 01 00:00:03 1970 +0000
24 summary: c
24 summary: c
25
25
26 changeset: 1:784de7cef101
26 changeset: 1:784de7cef101
27 user: test
27 user: test
28 date: Thu Jan 01 00:00:02 1970 +0000
28 date: Thu Jan 01 00:00:02 1970 +0000
29 summary: b
29 summary: b
30
30
31 changeset: 0:8580ff50825a
31 changeset: 0:8580ff50825a
32 user: test
32 user: test
33 date: Thu Jan 01 00:00:01 1970 +0000
33 date: Thu Jan 01 00:00:01 1970 +0000
34 summary: a
34 summary: a
35
35
36 % one rename
36 % one rename
37 changeset: 0:8580ff50825a
37 changeset: 0:8580ff50825a
38 user: test
38 user: test
39 date: Thu Jan 01 00:00:01 1970 +0000
39 date: Thu Jan 01 00:00:01 1970 +0000
40 files: a
40 files: a
41 description:
41 description:
42 a
42 a
43
43
44
44
45 % many renames
45 % many renames
46 changeset: 4:66c1345dc4f9
46 changeset: 4:66c1345dc4f9
47 tag: tip
47 tag: tip
48 user: test
48 user: test
49 date: Thu Jan 01 00:00:05 1970 +0000
49 date: Thu Jan 01 00:00:05 1970 +0000
50 files: dir/b e
50 files: dir/b e
51 description:
51 description:
52 e
52 e
53
53
54
54
55 changeset: 2:41dd4284081e
55 changeset: 2:41dd4284081e
56 user: test
56 user: test
57 date: Thu Jan 01 00:00:03 1970 +0000
57 date: Thu Jan 01 00:00:03 1970 +0000
58 files: b dir/b
58 files: b dir/b
59 description:
59 description:
60 c
60 c
61
61
62
62
63 changeset: 1:784de7cef101
63 changeset: 1:784de7cef101
64 user: test
64 user: test
65 date: Thu Jan 01 00:00:02 1970 +0000
65 date: Thu Jan 01 00:00:02 1970 +0000
66 files: b
66 files: b
67 description:
67 description:
68 b
68 b
69
69
70
70
71 changeset: 0:8580ff50825a
71 changeset: 0:8580ff50825a
72 user: test
72 user: test
73 date: Thu Jan 01 00:00:01 1970 +0000
73 date: Thu Jan 01 00:00:01 1970 +0000
74 files: a
74 files: a
75 description:
75 description:
76 a
76 a
77
77
78
78
79 % log copies with --copies
79 % log copies with --copies
80 4 e (dir/b)
80 4 e (dir/b)
81 3 b (a)
81 3 b (a)
82 2 dir/b (b)
82 2 dir/b (b)
83 1 b (a)
83 1 b (a)
84 0
84 0
85 % log copies switch without --copies, with old filecopy template
85 % log copies switch without --copies, with old filecopy template
86 4
86 4
87 3
87 3
88 2
88 2
89 1
89 1
90 0
90 0
91 % log copies switch with --copies
91 % log copies switch with --copies
92 4 e (dir/b)
92 4 e (dir/b)
93 3 b (a)
93 3 b (a)
94 2 dir/b (b)
94 2 dir/b (b)
95 1 b (a)
95 1 b (a)
96 0
96 0
97 % log copies with hardcoded style and with --style=default
98 changeset: 4:66c1345dc4f9
99 tag: tip
100 user: test
101 date: Thu Jan 01 00:00:05 1970 +0000
102 files: dir/b e
103 copies: e (dir/b)
104 description:
105 e
106
107
108 changeset: 4:66c1345dc4f9
109 tag: tip
110 user: test
111 date: Thu Jan 01 00:00:05 1970 +0000
112 files: dir/b e
113 copies: e (dir/b)
114 description:
115 e
116
117
97 % log copies, non-linear manifest
118 % log copies, non-linear manifest
98 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
119 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
99 adding foo
120 adding foo
100 created new head
121 created new head
101 5 e (dir/b)
122 5 e (dir/b)
102 % log copies, execute bit set
123 % log copies, execute bit set
103 6
124 6
104 % log -p d
125 % log -p d
105 changeset: 3:7c6c671bb7cc
126 changeset: 3:7c6c671bb7cc
106 user: test
127 user: test
107 date: Thu Jan 01 00:00:04 1970 +0000
128 date: Thu Jan 01 00:00:04 1970 +0000
108 files: a b d
129 files: a b d
109 description:
130 description:
110 d
131 d
111
132
112
133
113 diff -r 41dd4284081e -r 7c6c671bb7cc d
134 diff -r 41dd4284081e -r 7c6c671bb7cc d
114 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
135 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
115 +++ b/d Thu Jan 01 00:00:04 1970 +0000
136 +++ b/d Thu Jan 01 00:00:04 1970 +0000
116 @@ -0,0 +1,1 @@
137 @@ -0,0 +1,1 @@
117 +a
138 +a
118
139
119 adding base
140 adding base
120 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
141 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
121 adding b1
142 adding b1
122 created new head
143 created new head
123 % log -f
144 % log -f
124 changeset: 3:e62f78d544b4
145 changeset: 3:e62f78d544b4
125 tag: tip
146 tag: tip
126 parent: 1:3d5bf5654eda
147 parent: 1:3d5bf5654eda
127 user: test
148 user: test
128 date: Thu Jan 01 00:00:01 1970 +0000
149 date: Thu Jan 01 00:00:01 1970 +0000
129 summary: b1
150 summary: b1
130
151
131 changeset: 1:3d5bf5654eda
152 changeset: 1:3d5bf5654eda
132 user: test
153 user: test
133 date: Thu Jan 01 00:00:01 1970 +0000
154 date: Thu Jan 01 00:00:01 1970 +0000
134 summary: r1
155 summary: r1
135
156
136 changeset: 0:67e992f2c4f3
157 changeset: 0:67e992f2c4f3
137 user: test
158 user: test
138 date: Thu Jan 01 00:00:01 1970 +0000
159 date: Thu Jan 01 00:00:01 1970 +0000
139 summary: base
160 summary: base
140
161
141 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
162 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
142 adding b2
163 adding b2
143 created new head
164 created new head
144 % log -f -r 1:tip
165 % log -f -r 1:tip
145 changeset: 1:3d5bf5654eda
166 changeset: 1:3d5bf5654eda
146 user: test
167 user: test
147 date: Thu Jan 01 00:00:01 1970 +0000
168 date: Thu Jan 01 00:00:01 1970 +0000
148 summary: r1
169 summary: r1
149
170
150 changeset: 2:60c670bf5b30
171 changeset: 2:60c670bf5b30
151 user: test
172 user: test
152 date: Thu Jan 01 00:00:01 1970 +0000
173 date: Thu Jan 01 00:00:01 1970 +0000
153 summary: r2
174 summary: r2
154
175
155 changeset: 3:e62f78d544b4
176 changeset: 3:e62f78d544b4
156 parent: 1:3d5bf5654eda
177 parent: 1:3d5bf5654eda
157 user: test
178 user: test
158 date: Thu Jan 01 00:00:01 1970 +0000
179 date: Thu Jan 01 00:00:01 1970 +0000
159 summary: b1
180 summary: b1
160
181
161 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
182 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
162 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
183 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
163 (branch merge, don't forget to commit)
184 (branch merge, don't forget to commit)
164 % log -r . with two parents
185 % log -r . with two parents
165 changeset: 3:e62f78d544b4
186 changeset: 3:e62f78d544b4
166 parent: 1:3d5bf5654eda
187 parent: 1:3d5bf5654eda
167 user: test
188 user: test
168 date: Thu Jan 01 00:00:01 1970 +0000
189 date: Thu Jan 01 00:00:01 1970 +0000
169 summary: b1
190 summary: b1
170
191
171 % log -r . with one parent
192 % log -r . with one parent
172 changeset: 5:302e9dd6890d
193 changeset: 5:302e9dd6890d
173 tag: tip
194 tag: tip
174 parent: 3:e62f78d544b4
195 parent: 3:e62f78d544b4
175 parent: 4:ddb82e70d1a1
196 parent: 4:ddb82e70d1a1
176 user: test
197 user: test
177 date: Thu Jan 01 00:00:01 1970 +0000
198 date: Thu Jan 01 00:00:01 1970 +0000
178 summary: m12
199 summary: m12
179
200
180 % log --follow-first
201 % log --follow-first
181 changeset: 6:2404bbcab562
202 changeset: 6:2404bbcab562
182 tag: tip
203 tag: tip
183 user: test
204 user: test
184 date: Thu Jan 01 00:00:01 1970 +0000
205 date: Thu Jan 01 00:00:01 1970 +0000
185 summary: b1.1
206 summary: b1.1
186
207
187 changeset: 5:302e9dd6890d
208 changeset: 5:302e9dd6890d
188 parent: 3:e62f78d544b4
209 parent: 3:e62f78d544b4
189 parent: 4:ddb82e70d1a1
210 parent: 4:ddb82e70d1a1
190 user: test
211 user: test
191 date: Thu Jan 01 00:00:01 1970 +0000
212 date: Thu Jan 01 00:00:01 1970 +0000
192 summary: m12
213 summary: m12
193
214
194 changeset: 3:e62f78d544b4
215 changeset: 3:e62f78d544b4
195 parent: 1:3d5bf5654eda
216 parent: 1:3d5bf5654eda
196 user: test
217 user: test
197 date: Thu Jan 01 00:00:01 1970 +0000
218 date: Thu Jan 01 00:00:01 1970 +0000
198 summary: b1
219 summary: b1
199
220
200 changeset: 1:3d5bf5654eda
221 changeset: 1:3d5bf5654eda
201 user: test
222 user: test
202 date: Thu Jan 01 00:00:01 1970 +0000
223 date: Thu Jan 01 00:00:01 1970 +0000
203 summary: r1
224 summary: r1
204
225
205 changeset: 0:67e992f2c4f3
226 changeset: 0:67e992f2c4f3
206 user: test
227 user: test
207 date: Thu Jan 01 00:00:01 1970 +0000
228 date: Thu Jan 01 00:00:01 1970 +0000
208 summary: base
229 summary: base
209
230
210 % log -P 2
231 % log -P 2
211 changeset: 6:2404bbcab562
232 changeset: 6:2404bbcab562
212 tag: tip
233 tag: tip
213 user: test
234 user: test
214 date: Thu Jan 01 00:00:01 1970 +0000
235 date: Thu Jan 01 00:00:01 1970 +0000
215 summary: b1.1
236 summary: b1.1
216
237
217 changeset: 5:302e9dd6890d
238 changeset: 5:302e9dd6890d
218 parent: 3:e62f78d544b4
239 parent: 3:e62f78d544b4
219 parent: 4:ddb82e70d1a1
240 parent: 4:ddb82e70d1a1
220 user: test
241 user: test
221 date: Thu Jan 01 00:00:01 1970 +0000
242 date: Thu Jan 01 00:00:01 1970 +0000
222 summary: m12
243 summary: m12
223
244
224 changeset: 4:ddb82e70d1a1
245 changeset: 4:ddb82e70d1a1
225 parent: 0:67e992f2c4f3
246 parent: 0:67e992f2c4f3
226 user: test
247 user: test
227 date: Thu Jan 01 00:00:01 1970 +0000
248 date: Thu Jan 01 00:00:01 1970 +0000
228 summary: b2
249 summary: b2
229
250
230 changeset: 3:e62f78d544b4
251 changeset: 3:e62f78d544b4
231 parent: 1:3d5bf5654eda
252 parent: 1:3d5bf5654eda
232 user: test
253 user: test
233 date: Thu Jan 01 00:00:01 1970 +0000
254 date: Thu Jan 01 00:00:01 1970 +0000
234 summary: b1
255 summary: b1
235
256
236 % log -r tip -p --git
257 % log -r tip -p --git
237 changeset: 6:2404bbcab562
258 changeset: 6:2404bbcab562
238 tag: tip
259 tag: tip
239 user: test
260 user: test
240 date: Thu Jan 01 00:00:01 1970 +0000
261 date: Thu Jan 01 00:00:01 1970 +0000
241 summary: b1.1
262 summary: b1.1
242
263
243 diff --git a/b1 b/b1
264 diff --git a/b1 b/b1
244 --- a/b1
265 --- a/b1
245 +++ b/b1
266 +++ b/b1
246 @@ -1,1 +1,2 @@
267 @@ -1,1 +1,2 @@
247 b1
268 b1
248 +postm
269 +postm
249
270
250 % log -r ""
271 % log -r ""
251 abort: 00changelog.i@: ambiguous identifier!
272 abort: 00changelog.i@: ambiguous identifier!
252 % log -r <some unknown node id>
273 % log -r <some unknown node id>
253 abort: unknown revision '1000000000000000000000000000000000000000'!
274 abort: unknown revision '1000000000000000000000000000000000000000'!
254 % log -k r1
275 % log -k r1
255 changeset: 1:3d5bf5654eda
276 changeset: 1:3d5bf5654eda
256 user: test
277 user: test
257 date: Thu Jan 01 00:00:01 1970 +0000
278 date: Thu Jan 01 00:00:01 1970 +0000
258 summary: r1
279 summary: r1
259
280
260 % log -d -1
281 % log -d -1
261 adding a
282 adding a
262 adding b
283 adding b
263 changeset: 0:29a4c94f1924
284 changeset: 0:29a4c94f1924
264 user: User One <user1@example.org>
285 user: User One <user1@example.org>
265 date: Thu Jan 01 00:00:00 1970 +0000
286 date: Thu Jan 01 00:00:00 1970 +0000
266 summary: a
287 summary: a
267
288
268 changeset: 1:e834b5e69c0e
289 changeset: 1:e834b5e69c0e
269 tag: tip
290 tag: tip
270 user: User Two <user2@example.org>
291 user: User Two <user2@example.org>
271 date: Thu Jan 01 00:00:00 1970 +0000
292 date: Thu Jan 01 00:00:00 1970 +0000
272 summary: b
293 summary: b
273
294
274 changeset: 0:29a4c94f1924
295 changeset: 0:29a4c94f1924
275 user: User One <user1@example.org>
296 user: User One <user1@example.org>
276 date: Thu Jan 01 00:00:00 1970 +0000
297 date: Thu Jan 01 00:00:00 1970 +0000
277 summary: a
298 summary: a
278
299
General Comments 0
You need to be logged in to leave comments. Login now