##// END OF EJS Templates
py3: add b'' prefixes to make printrevset.py work in test-glog.t...
Pulkit Goyal -
r36199:f1addba3 default
parent child Browse files
Show More
@@ -1,3487 +1,3487 b''
1 @ (34) head
1 @ (34) head
2 |
2 |
3 | o (33) head
3 | o (33) head
4 | |
4 | |
5 o | (32) expand
5 o | (32) expand
6 |\ \
6 |\ \
7 | o \ (31) expand
7 | o \ (31) expand
8 | |\ \
8 | |\ \
9 | | o \ (30) expand
9 | | o \ (30) expand
10 | | |\ \
10 | | |\ \
11 | | | o | (29) regular commit
11 | | | o | (29) regular commit
12 | | | | |
12 | | | | |
13 | | o | | (28) merge zero known
13 | | o | | (28) merge zero known
14 | | |\ \ \
14 | | |\ \ \
15 o | | | | | (27) collapse
15 o | | | | | (27) collapse
16 |/ / / / /
16 |/ / / / /
17 | | o---+ (26) merge one known; far right
17 | | o---+ (26) merge one known; far right
18 | | | | |
18 | | | | |
19 +---o | | (25) merge one known; far left
19 +---o | | (25) merge one known; far left
20 | | | | |
20 | | | | |
21 | | o | | (24) merge one known; immediate right
21 | | o | | (24) merge one known; immediate right
22 | | |\| |
22 | | |\| |
23 | | o | | (23) merge one known; immediate left
23 | | o | | (23) merge one known; immediate left
24 | |/| | |
24 | |/| | |
25 +---o---+ (22) merge two known; one far left, one far right
25 +---o---+ (22) merge two known; one far left, one far right
26 | | / /
26 | | / /
27 o | | | (21) expand
27 o | | | (21) expand
28 |\ \ \ \
28 |\ \ \ \
29 | o---+-+ (20) merge two known; two far right
29 | o---+-+ (20) merge two known; two far right
30 | / / /
30 | / / /
31 o | | | (19) expand
31 o | | | (19) expand
32 |\ \ \ \
32 |\ \ \ \
33 +---+---o (18) merge two known; two far left
33 +---+---o (18) merge two known; two far left
34 | | | |
34 | | | |
35 | o | | (17) expand
35 | o | | (17) expand
36 | |\ \ \
36 | |\ \ \
37 | | o---+ (16) merge two known; one immediate right, one near right
37 | | o---+ (16) merge two known; one immediate right, one near right
38 | | |/ /
38 | | |/ /
39 o | | | (15) expand
39 o | | | (15) expand
40 |\ \ \ \
40 |\ \ \ \
41 | o-----+ (14) merge two known; one immediate right, one far right
41 | o-----+ (14) merge two known; one immediate right, one far right
42 | |/ / /
42 | |/ / /
43 o | | | (13) expand
43 o | | | (13) expand
44 |\ \ \ \
44 |\ \ \ \
45 +---o | | (12) merge two known; one immediate right, one far left
45 +---o | | (12) merge two known; one immediate right, one far left
46 | | |/ /
46 | | |/ /
47 | o | | (11) expand
47 | o | | (11) expand
48 | |\ \ \
48 | |\ \ \
49 | | o---+ (10) merge two known; one immediate left, one near right
49 | | o---+ (10) merge two known; one immediate left, one near right
50 | |/ / /
50 | |/ / /
51 o | | | (9) expand
51 o | | | (9) expand
52 |\ \ \ \
52 |\ \ \ \
53 | o-----+ (8) merge two known; one immediate left, one far right
53 | o-----+ (8) merge two known; one immediate left, one far right
54 |/ / / /
54 |/ / / /
55 o | | | (7) expand
55 o | | | (7) expand
56 |\ \ \ \
56 |\ \ \ \
57 +---o | | (6) merge two known; one immediate left, one far left
57 +---o | | (6) merge two known; one immediate left, one far left
58 | |/ / /
58 | |/ / /
59 | o | | (5) expand
59 | o | | (5) expand
60 | |\ \ \
60 | |\ \ \
61 | | o | | (4) merge two known; one immediate left, one immediate right
61 | | o | | (4) merge two known; one immediate left, one immediate right
62 | |/|/ /
62 | |/|/ /
63 | o / / (3) collapse
63 | o / / (3) collapse
64 |/ / /
64 |/ / /
65 o / / (2) collapse
65 o / / (2) collapse
66 |/ /
66 |/ /
67 o / (1) collapse
67 o / (1) collapse
68 |/
68 |/
69 o (0) root
69 o (0) root
70
70
71
71
72 $ commit()
72 $ commit()
73 > {
73 > {
74 > rev=$1
74 > rev=$1
75 > msg=$2
75 > msg=$2
76 > shift 2
76 > shift 2
77 > if [ "$#" -gt 0 ]; then
77 > if [ "$#" -gt 0 ]; then
78 > hg debugsetparents "$@"
78 > hg debugsetparents "$@"
79 > fi
79 > fi
80 > echo $rev > a
80 > echo $rev > a
81 > hg commit -Aqd "$rev 0" -m "($rev) $msg"
81 > hg commit -Aqd "$rev 0" -m "($rev) $msg"
82 > }
82 > }
83
83
84 $ cat > printrevset.py <<EOF
84 $ cat > printrevset.py <<EOF
85 > from __future__ import absolute_import
85 > from __future__ import absolute_import
86 > from mercurial import (
86 > from mercurial import (
87 > cmdutil,
87 > cmdutil,
88 > commands,
88 > commands,
89 > extensions,
89 > extensions,
90 > logcmdutil,
90 > logcmdutil,
91 > revsetlang,
91 > revsetlang,
92 > smartset,
92 > smartset,
93 > )
93 > )
94 >
94 >
95 > def logrevset(repo, pats, opts):
95 > def logrevset(repo, pats, opts):
96 > revs = logcmdutil._initialrevs(repo, opts)
96 > revs = logcmdutil._initialrevs(repo, opts)
97 > if not revs:
97 > if not revs:
98 > return None
98 > return None
99 > match, pats, slowpath = logcmdutil._makematcher(repo, revs, pats, opts)
99 > match, pats, slowpath = logcmdutil._makematcher(repo, revs, pats, opts)
100 > return logcmdutil._makerevset(repo, match, pats, slowpath, opts)
100 > return logcmdutil._makerevset(repo, match, pats, slowpath, opts)
101 >
101 >
102 > def uisetup(ui):
102 > def uisetup(ui):
103 > def printrevset(orig, repo, pats, opts):
103 > def printrevset(orig, repo, pats, opts):
104 > revs, filematcher = orig(repo, pats, opts)
104 > revs, filematcher = orig(repo, pats, opts)
105 > if opts.get('print_revset'):
105 > if opts.get(b'print_revset'):
106 > expr = logrevset(repo, pats, opts)
106 > expr = logrevset(repo, pats, opts)
107 > if expr:
107 > if expr:
108 > tree = revsetlang.parse(expr)
108 > tree = revsetlang.parse(expr)
109 > tree = revsetlang.analyze(tree)
109 > tree = revsetlang.analyze(tree)
110 > else:
110 > else:
111 > tree = []
111 > tree = []
112 > ui = repo.ui
112 > ui = repo.ui
113 > ui.write('%r\n' % (opts.get('rev', []),))
113 > ui.write(b'%r\n' % (opts.get(b'rev', []),))
114 > ui.write(revsetlang.prettyformat(tree) + '\n')
114 > ui.write(revsetlang.prettyformat(tree) + b'\n')
115 > ui.write(smartset.prettyformat(revs) + '\n')
115 > ui.write(smartset.prettyformat(revs) + b'\n')
116 > revs = smartset.baseset() # display no revisions
116 > revs = smartset.baseset() # display no revisions
117 > return revs, filematcher
117 > return revs, filematcher
118 > extensions.wrapfunction(logcmdutil, 'getrevs', printrevset)
118 > extensions.wrapfunction(logcmdutil, 'getrevs', printrevset)
119 > aliases, entry = cmdutil.findcmd('log', commands.table)
119 > aliases, entry = cmdutil.findcmd(b'log', commands.table)
120 > entry[1].append(('', 'print-revset', False,
120 > entry[1].append((b'', b'print-revset', False,
121 > 'print generated revset and exit (DEPRECATED)'))
121 > b'print generated revset and exit (DEPRECATED)'))
122 > EOF
122 > EOF
123
123
124 $ echo "[extensions]" >> $HGRCPATH
124 $ echo "[extensions]" >> $HGRCPATH
125 $ echo "printrevset=`pwd`/printrevset.py" >> $HGRCPATH
125 $ echo "printrevset=`pwd`/printrevset.py" >> $HGRCPATH
126
126
127 $ hg init repo
127 $ hg init repo
128 $ cd repo
128 $ cd repo
129
129
130 Empty repo:
130 Empty repo:
131
131
132 $ hg log -G
132 $ hg log -G
133
133
134
134
135 Building DAG:
135 Building DAG:
136
136
137 $ commit 0 "root"
137 $ commit 0 "root"
138 $ commit 1 "collapse" 0
138 $ commit 1 "collapse" 0
139 $ commit 2 "collapse" 1
139 $ commit 2 "collapse" 1
140 $ commit 3 "collapse" 2
140 $ commit 3 "collapse" 2
141 $ commit 4 "merge two known; one immediate left, one immediate right" 1 3
141 $ commit 4 "merge two known; one immediate left, one immediate right" 1 3
142 $ commit 5 "expand" 3 4
142 $ commit 5 "expand" 3 4
143 $ commit 6 "merge two known; one immediate left, one far left" 2 5
143 $ commit 6 "merge two known; one immediate left, one far left" 2 5
144 $ commit 7 "expand" 2 5
144 $ commit 7 "expand" 2 5
145 $ commit 8 "merge two known; one immediate left, one far right" 0 7
145 $ commit 8 "merge two known; one immediate left, one far right" 0 7
146 $ commit 9 "expand" 7 8
146 $ commit 9 "expand" 7 8
147 $ commit 10 "merge two known; one immediate left, one near right" 0 6
147 $ commit 10 "merge two known; one immediate left, one near right" 0 6
148 $ commit 11 "expand" 6 10
148 $ commit 11 "expand" 6 10
149 $ commit 12 "merge two known; one immediate right, one far left" 1 9
149 $ commit 12 "merge two known; one immediate right, one far left" 1 9
150 $ commit 13 "expand" 9 11
150 $ commit 13 "expand" 9 11
151 $ commit 14 "merge two known; one immediate right, one far right" 0 12
151 $ commit 14 "merge two known; one immediate right, one far right" 0 12
152 $ commit 15 "expand" 13 14
152 $ commit 15 "expand" 13 14
153 $ commit 16 "merge two known; one immediate right, one near right" 0 1
153 $ commit 16 "merge two known; one immediate right, one near right" 0 1
154 $ commit 17 "expand" 12 16
154 $ commit 17 "expand" 12 16
155 $ commit 18 "merge two known; two far left" 1 15
155 $ commit 18 "merge two known; two far left" 1 15
156 $ commit 19 "expand" 15 17
156 $ commit 19 "expand" 15 17
157 $ commit 20 "merge two known; two far right" 0 18
157 $ commit 20 "merge two known; two far right" 0 18
158 $ commit 21 "expand" 19 20
158 $ commit 21 "expand" 19 20
159 $ commit 22 "merge two known; one far left, one far right" 18 21
159 $ commit 22 "merge two known; one far left, one far right" 18 21
160 $ commit 23 "merge one known; immediate left" 1 22
160 $ commit 23 "merge one known; immediate left" 1 22
161 $ commit 24 "merge one known; immediate right" 0 23
161 $ commit 24 "merge one known; immediate right" 0 23
162 $ commit 25 "merge one known; far left" 21 24
162 $ commit 25 "merge one known; far left" 21 24
163 $ commit 26 "merge one known; far right" 18 25
163 $ commit 26 "merge one known; far right" 18 25
164 $ commit 27 "collapse" 21
164 $ commit 27 "collapse" 21
165 $ commit 28 "merge zero known" 1 26
165 $ commit 28 "merge zero known" 1 26
166 $ commit 29 "regular commit" 0
166 $ commit 29 "regular commit" 0
167 $ commit 30 "expand" 28 29
167 $ commit 30 "expand" 28 29
168 $ commit 31 "expand" 21 30
168 $ commit 31 "expand" 21 30
169 $ commit 32 "expand" 27 31
169 $ commit 32 "expand" 27 31
170 $ commit 33 "head" 18
170 $ commit 33 "head" 18
171 $ commit 34 "head" 32
171 $ commit 34 "head" 32
172
172
173
173
174 $ hg log -G -q
174 $ hg log -G -q
175 @ 34:fea3ac5810e0
175 @ 34:fea3ac5810e0
176 |
176 |
177 | o 33:68608f5145f9
177 | o 33:68608f5145f9
178 | |
178 | |
179 o | 32:d06dffa21a31
179 o | 32:d06dffa21a31
180 |\ \
180 |\ \
181 | o \ 31:621d83e11f67
181 | o \ 31:621d83e11f67
182 | |\ \
182 | |\ \
183 | | o \ 30:6e11cd4b648f
183 | | o \ 30:6e11cd4b648f
184 | | |\ \
184 | | |\ \
185 | | | o | 29:cd9bb2be7593
185 | | | o | 29:cd9bb2be7593
186 | | | | |
186 | | | | |
187 | | o | | 28:44ecd0b9ae99
187 | | o | | 28:44ecd0b9ae99
188 | | |\ \ \
188 | | |\ \ \
189 o | | | | | 27:886ed638191b
189 o | | | | | 27:886ed638191b
190 |/ / / / /
190 |/ / / / /
191 | | o---+ 26:7f25b6c2f0b9
191 | | o---+ 26:7f25b6c2f0b9
192 | | | | |
192 | | | | |
193 +---o | | 25:91da8ed57247
193 +---o | | 25:91da8ed57247
194 | | | | |
194 | | | | |
195 | | o | | 24:a9c19a3d96b7
195 | | o | | 24:a9c19a3d96b7
196 | | |\| |
196 | | |\| |
197 | | o | | 23:a01cddf0766d
197 | | o | | 23:a01cddf0766d
198 | |/| | |
198 | |/| | |
199 +---o---+ 22:e0d9cccacb5d
199 +---o---+ 22:e0d9cccacb5d
200 | | / /
200 | | / /
201 o | | | 21:d42a756af44d
201 o | | | 21:d42a756af44d
202 |\ \ \ \
202 |\ \ \ \
203 | o---+-+ 20:d30ed6450e32
203 | o---+-+ 20:d30ed6450e32
204 | / / /
204 | / / /
205 o | | | 19:31ddc2c1573b
205 o | | | 19:31ddc2c1573b
206 |\ \ \ \
206 |\ \ \ \
207 +---+---o 18:1aa84d96232a
207 +---+---o 18:1aa84d96232a
208 | | | |
208 | | | |
209 | o | | 17:44765d7c06e0
209 | o | | 17:44765d7c06e0
210 | |\ \ \
210 | |\ \ \
211 | | o---+ 16:3677d192927d
211 | | o---+ 16:3677d192927d
212 | | |/ /
212 | | |/ /
213 o | | | 15:1dda3f72782d
213 o | | | 15:1dda3f72782d
214 |\ \ \ \
214 |\ \ \ \
215 | o-----+ 14:8eac370358ef
215 | o-----+ 14:8eac370358ef
216 | |/ / /
216 | |/ / /
217 o | | | 13:22d8966a97e3
217 o | | | 13:22d8966a97e3
218 |\ \ \ \
218 |\ \ \ \
219 +---o | | 12:86b91144a6e9
219 +---o | | 12:86b91144a6e9
220 | | |/ /
220 | | |/ /
221 | o | | 11:832d76e6bdf2
221 | o | | 11:832d76e6bdf2
222 | |\ \ \
222 | |\ \ \
223 | | o---+ 10:74c64d036d72
223 | | o---+ 10:74c64d036d72
224 | |/ / /
224 | |/ / /
225 o | | | 9:7010c0af0a35
225 o | | | 9:7010c0af0a35
226 |\ \ \ \
226 |\ \ \ \
227 | o-----+ 8:7a0b11f71937
227 | o-----+ 8:7a0b11f71937
228 |/ / / /
228 |/ / / /
229 o | | | 7:b632bb1b1224
229 o | | | 7:b632bb1b1224
230 |\ \ \ \
230 |\ \ \ \
231 +---o | | 6:b105a072e251
231 +---o | | 6:b105a072e251
232 | |/ / /
232 | |/ / /
233 | o | | 5:4409d547b708
233 | o | | 5:4409d547b708
234 | |\ \ \
234 | |\ \ \
235 | | o | | 4:26a8bac39d9f
235 | | o | | 4:26a8bac39d9f
236 | |/|/ /
236 | |/|/ /
237 | o / / 3:27eef8ed80b4
237 | o / / 3:27eef8ed80b4
238 |/ / /
238 |/ / /
239 o / / 2:3d9a33b8d1e1
239 o / / 2:3d9a33b8d1e1
240 |/ /
240 |/ /
241 o / 1:6db2ef61d156
241 o / 1:6db2ef61d156
242 |/
242 |/
243 o 0:e6eb3150255d
243 o 0:e6eb3150255d
244
244
245
245
246 $ hg log -G
246 $ hg log -G
247 @ changeset: 34:fea3ac5810e0
247 @ changeset: 34:fea3ac5810e0
248 | tag: tip
248 | tag: tip
249 | parent: 32:d06dffa21a31
249 | parent: 32:d06dffa21a31
250 | user: test
250 | user: test
251 | date: Thu Jan 01 00:00:34 1970 +0000
251 | date: Thu Jan 01 00:00:34 1970 +0000
252 | summary: (34) head
252 | summary: (34) head
253 |
253 |
254 | o changeset: 33:68608f5145f9
254 | o changeset: 33:68608f5145f9
255 | | parent: 18:1aa84d96232a
255 | | parent: 18:1aa84d96232a
256 | | user: test
256 | | user: test
257 | | date: Thu Jan 01 00:00:33 1970 +0000
257 | | date: Thu Jan 01 00:00:33 1970 +0000
258 | | summary: (33) head
258 | | summary: (33) head
259 | |
259 | |
260 o | changeset: 32:d06dffa21a31
260 o | changeset: 32:d06dffa21a31
261 |\ \ parent: 27:886ed638191b
261 |\ \ parent: 27:886ed638191b
262 | | | parent: 31:621d83e11f67
262 | | | parent: 31:621d83e11f67
263 | | | user: test
263 | | | user: test
264 | | | date: Thu Jan 01 00:00:32 1970 +0000
264 | | | date: Thu Jan 01 00:00:32 1970 +0000
265 | | | summary: (32) expand
265 | | | summary: (32) expand
266 | | |
266 | | |
267 | o | changeset: 31:621d83e11f67
267 | o | changeset: 31:621d83e11f67
268 | |\ \ parent: 21:d42a756af44d
268 | |\ \ parent: 21:d42a756af44d
269 | | | | parent: 30:6e11cd4b648f
269 | | | | parent: 30:6e11cd4b648f
270 | | | | user: test
270 | | | | user: test
271 | | | | date: Thu Jan 01 00:00:31 1970 +0000
271 | | | | date: Thu Jan 01 00:00:31 1970 +0000
272 | | | | summary: (31) expand
272 | | | | summary: (31) expand
273 | | | |
273 | | | |
274 | | o | changeset: 30:6e11cd4b648f
274 | | o | changeset: 30:6e11cd4b648f
275 | | |\ \ parent: 28:44ecd0b9ae99
275 | | |\ \ parent: 28:44ecd0b9ae99
276 | | | | | parent: 29:cd9bb2be7593
276 | | | | | parent: 29:cd9bb2be7593
277 | | | | | user: test
277 | | | | | user: test
278 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
278 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
279 | | | | | summary: (30) expand
279 | | | | | summary: (30) expand
280 | | | | |
280 | | | | |
281 | | | o | changeset: 29:cd9bb2be7593
281 | | | o | changeset: 29:cd9bb2be7593
282 | | | | | parent: 0:e6eb3150255d
282 | | | | | parent: 0:e6eb3150255d
283 | | | | | user: test
283 | | | | | user: test
284 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
284 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
285 | | | | | summary: (29) regular commit
285 | | | | | summary: (29) regular commit
286 | | | | |
286 | | | | |
287 | | o | | changeset: 28:44ecd0b9ae99
287 | | o | | changeset: 28:44ecd0b9ae99
288 | | |\ \ \ parent: 1:6db2ef61d156
288 | | |\ \ \ parent: 1:6db2ef61d156
289 | | | | | | parent: 26:7f25b6c2f0b9
289 | | | | | | parent: 26:7f25b6c2f0b9
290 | | | | | | user: test
290 | | | | | | user: test
291 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
291 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
292 | | | | | | summary: (28) merge zero known
292 | | | | | | summary: (28) merge zero known
293 | | | | | |
293 | | | | | |
294 o | | | | | changeset: 27:886ed638191b
294 o | | | | | changeset: 27:886ed638191b
295 |/ / / / / parent: 21:d42a756af44d
295 |/ / / / / parent: 21:d42a756af44d
296 | | | | | user: test
296 | | | | | user: test
297 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
297 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
298 | | | | | summary: (27) collapse
298 | | | | | summary: (27) collapse
299 | | | | |
299 | | | | |
300 | | o---+ changeset: 26:7f25b6c2f0b9
300 | | o---+ changeset: 26:7f25b6c2f0b9
301 | | | | | parent: 18:1aa84d96232a
301 | | | | | parent: 18:1aa84d96232a
302 | | | | | parent: 25:91da8ed57247
302 | | | | | parent: 25:91da8ed57247
303 | | | | | user: test
303 | | | | | user: test
304 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
304 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
305 | | | | | summary: (26) merge one known; far right
305 | | | | | summary: (26) merge one known; far right
306 | | | | |
306 | | | | |
307 +---o | | changeset: 25:91da8ed57247
307 +---o | | changeset: 25:91da8ed57247
308 | | | | | parent: 21:d42a756af44d
308 | | | | | parent: 21:d42a756af44d
309 | | | | | parent: 24:a9c19a3d96b7
309 | | | | | parent: 24:a9c19a3d96b7
310 | | | | | user: test
310 | | | | | user: test
311 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
311 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
312 | | | | | summary: (25) merge one known; far left
312 | | | | | summary: (25) merge one known; far left
313 | | | | |
313 | | | | |
314 | | o | | changeset: 24:a9c19a3d96b7
314 | | o | | changeset: 24:a9c19a3d96b7
315 | | |\| | parent: 0:e6eb3150255d
315 | | |\| | parent: 0:e6eb3150255d
316 | | | | | parent: 23:a01cddf0766d
316 | | | | | parent: 23:a01cddf0766d
317 | | | | | user: test
317 | | | | | user: test
318 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
318 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
319 | | | | | summary: (24) merge one known; immediate right
319 | | | | | summary: (24) merge one known; immediate right
320 | | | | |
320 | | | | |
321 | | o | | changeset: 23:a01cddf0766d
321 | | o | | changeset: 23:a01cddf0766d
322 | |/| | | parent: 1:6db2ef61d156
322 | |/| | | parent: 1:6db2ef61d156
323 | | | | | parent: 22:e0d9cccacb5d
323 | | | | | parent: 22:e0d9cccacb5d
324 | | | | | user: test
324 | | | | | user: test
325 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
325 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
326 | | | | | summary: (23) merge one known; immediate left
326 | | | | | summary: (23) merge one known; immediate left
327 | | | | |
327 | | | | |
328 +---o---+ changeset: 22:e0d9cccacb5d
328 +---o---+ changeset: 22:e0d9cccacb5d
329 | | | | parent: 18:1aa84d96232a
329 | | | | parent: 18:1aa84d96232a
330 | | / / parent: 21:d42a756af44d
330 | | / / parent: 21:d42a756af44d
331 | | | | user: test
331 | | | | user: test
332 | | | | date: Thu Jan 01 00:00:22 1970 +0000
332 | | | | date: Thu Jan 01 00:00:22 1970 +0000
333 | | | | summary: (22) merge two known; one far left, one far right
333 | | | | summary: (22) merge two known; one far left, one far right
334 | | | |
334 | | | |
335 o | | | changeset: 21:d42a756af44d
335 o | | | changeset: 21:d42a756af44d
336 |\ \ \ \ parent: 19:31ddc2c1573b
336 |\ \ \ \ parent: 19:31ddc2c1573b
337 | | | | | parent: 20:d30ed6450e32
337 | | | | | parent: 20:d30ed6450e32
338 | | | | | user: test
338 | | | | | user: test
339 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
339 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
340 | | | | | summary: (21) expand
340 | | | | | summary: (21) expand
341 | | | | |
341 | | | | |
342 | o---+-+ changeset: 20:d30ed6450e32
342 | o---+-+ changeset: 20:d30ed6450e32
343 | | | | parent: 0:e6eb3150255d
343 | | | | parent: 0:e6eb3150255d
344 | / / / parent: 18:1aa84d96232a
344 | / / / parent: 18:1aa84d96232a
345 | | | | user: test
345 | | | | user: test
346 | | | | date: Thu Jan 01 00:00:20 1970 +0000
346 | | | | date: Thu Jan 01 00:00:20 1970 +0000
347 | | | | summary: (20) merge two known; two far right
347 | | | | summary: (20) merge two known; two far right
348 | | | |
348 | | | |
349 o | | | changeset: 19:31ddc2c1573b
349 o | | | changeset: 19:31ddc2c1573b
350 |\ \ \ \ parent: 15:1dda3f72782d
350 |\ \ \ \ parent: 15:1dda3f72782d
351 | | | | | parent: 17:44765d7c06e0
351 | | | | | parent: 17:44765d7c06e0
352 | | | | | user: test
352 | | | | | user: test
353 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
353 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
354 | | | | | summary: (19) expand
354 | | | | | summary: (19) expand
355 | | | | |
355 | | | | |
356 +---+---o changeset: 18:1aa84d96232a
356 +---+---o changeset: 18:1aa84d96232a
357 | | | | parent: 1:6db2ef61d156
357 | | | | parent: 1:6db2ef61d156
358 | | | | parent: 15:1dda3f72782d
358 | | | | parent: 15:1dda3f72782d
359 | | | | user: test
359 | | | | user: test
360 | | | | date: Thu Jan 01 00:00:18 1970 +0000
360 | | | | date: Thu Jan 01 00:00:18 1970 +0000
361 | | | | summary: (18) merge two known; two far left
361 | | | | summary: (18) merge two known; two far left
362 | | | |
362 | | | |
363 | o | | changeset: 17:44765d7c06e0
363 | o | | changeset: 17:44765d7c06e0
364 | |\ \ \ parent: 12:86b91144a6e9
364 | |\ \ \ parent: 12:86b91144a6e9
365 | | | | | parent: 16:3677d192927d
365 | | | | | parent: 16:3677d192927d
366 | | | | | user: test
366 | | | | | user: test
367 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
367 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
368 | | | | | summary: (17) expand
368 | | | | | summary: (17) expand
369 | | | | |
369 | | | | |
370 | | o---+ changeset: 16:3677d192927d
370 | | o---+ changeset: 16:3677d192927d
371 | | | | | parent: 0:e6eb3150255d
371 | | | | | parent: 0:e6eb3150255d
372 | | |/ / parent: 1:6db2ef61d156
372 | | |/ / parent: 1:6db2ef61d156
373 | | | | user: test
373 | | | | user: test
374 | | | | date: Thu Jan 01 00:00:16 1970 +0000
374 | | | | date: Thu Jan 01 00:00:16 1970 +0000
375 | | | | summary: (16) merge two known; one immediate right, one near right
375 | | | | summary: (16) merge two known; one immediate right, one near right
376 | | | |
376 | | | |
377 o | | | changeset: 15:1dda3f72782d
377 o | | | changeset: 15:1dda3f72782d
378 |\ \ \ \ parent: 13:22d8966a97e3
378 |\ \ \ \ parent: 13:22d8966a97e3
379 | | | | | parent: 14:8eac370358ef
379 | | | | | parent: 14:8eac370358ef
380 | | | | | user: test
380 | | | | | user: test
381 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
381 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
382 | | | | | summary: (15) expand
382 | | | | | summary: (15) expand
383 | | | | |
383 | | | | |
384 | o-----+ changeset: 14:8eac370358ef
384 | o-----+ changeset: 14:8eac370358ef
385 | | | | | parent: 0:e6eb3150255d
385 | | | | | parent: 0:e6eb3150255d
386 | |/ / / parent: 12:86b91144a6e9
386 | |/ / / parent: 12:86b91144a6e9
387 | | | | user: test
387 | | | | user: test
388 | | | | date: Thu Jan 01 00:00:14 1970 +0000
388 | | | | date: Thu Jan 01 00:00:14 1970 +0000
389 | | | | summary: (14) merge two known; one immediate right, one far right
389 | | | | summary: (14) merge two known; one immediate right, one far right
390 | | | |
390 | | | |
391 o | | | changeset: 13:22d8966a97e3
391 o | | | changeset: 13:22d8966a97e3
392 |\ \ \ \ parent: 9:7010c0af0a35
392 |\ \ \ \ parent: 9:7010c0af0a35
393 | | | | | parent: 11:832d76e6bdf2
393 | | | | | parent: 11:832d76e6bdf2
394 | | | | | user: test
394 | | | | | user: test
395 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
395 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
396 | | | | | summary: (13) expand
396 | | | | | summary: (13) expand
397 | | | | |
397 | | | | |
398 +---o | | changeset: 12:86b91144a6e9
398 +---o | | changeset: 12:86b91144a6e9
399 | | |/ / parent: 1:6db2ef61d156
399 | | |/ / parent: 1:6db2ef61d156
400 | | | | parent: 9:7010c0af0a35
400 | | | | parent: 9:7010c0af0a35
401 | | | | user: test
401 | | | | user: test
402 | | | | date: Thu Jan 01 00:00:12 1970 +0000
402 | | | | date: Thu Jan 01 00:00:12 1970 +0000
403 | | | | summary: (12) merge two known; one immediate right, one far left
403 | | | | summary: (12) merge two known; one immediate right, one far left
404 | | | |
404 | | | |
405 | o | | changeset: 11:832d76e6bdf2
405 | o | | changeset: 11:832d76e6bdf2
406 | |\ \ \ parent: 6:b105a072e251
406 | |\ \ \ parent: 6:b105a072e251
407 | | | | | parent: 10:74c64d036d72
407 | | | | | parent: 10:74c64d036d72
408 | | | | | user: test
408 | | | | | user: test
409 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
409 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
410 | | | | | summary: (11) expand
410 | | | | | summary: (11) expand
411 | | | | |
411 | | | | |
412 | | o---+ changeset: 10:74c64d036d72
412 | | o---+ changeset: 10:74c64d036d72
413 | | | | | parent: 0:e6eb3150255d
413 | | | | | parent: 0:e6eb3150255d
414 | |/ / / parent: 6:b105a072e251
414 | |/ / / parent: 6:b105a072e251
415 | | | | user: test
415 | | | | user: test
416 | | | | date: Thu Jan 01 00:00:10 1970 +0000
416 | | | | date: Thu Jan 01 00:00:10 1970 +0000
417 | | | | summary: (10) merge two known; one immediate left, one near right
417 | | | | summary: (10) merge two known; one immediate left, one near right
418 | | | |
418 | | | |
419 o | | | changeset: 9:7010c0af0a35
419 o | | | changeset: 9:7010c0af0a35
420 |\ \ \ \ parent: 7:b632bb1b1224
420 |\ \ \ \ parent: 7:b632bb1b1224
421 | | | | | parent: 8:7a0b11f71937
421 | | | | | parent: 8:7a0b11f71937
422 | | | | | user: test
422 | | | | | user: test
423 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
423 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
424 | | | | | summary: (9) expand
424 | | | | | summary: (9) expand
425 | | | | |
425 | | | | |
426 | o-----+ changeset: 8:7a0b11f71937
426 | o-----+ changeset: 8:7a0b11f71937
427 | | | | | parent: 0:e6eb3150255d
427 | | | | | parent: 0:e6eb3150255d
428 |/ / / / parent: 7:b632bb1b1224
428 |/ / / / parent: 7:b632bb1b1224
429 | | | | user: test
429 | | | | user: test
430 | | | | date: Thu Jan 01 00:00:08 1970 +0000
430 | | | | date: Thu Jan 01 00:00:08 1970 +0000
431 | | | | summary: (8) merge two known; one immediate left, one far right
431 | | | | summary: (8) merge two known; one immediate left, one far right
432 | | | |
432 | | | |
433 o | | | changeset: 7:b632bb1b1224
433 o | | | changeset: 7:b632bb1b1224
434 |\ \ \ \ parent: 2:3d9a33b8d1e1
434 |\ \ \ \ parent: 2:3d9a33b8d1e1
435 | | | | | parent: 5:4409d547b708
435 | | | | | parent: 5:4409d547b708
436 | | | | | user: test
436 | | | | | user: test
437 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
437 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
438 | | | | | summary: (7) expand
438 | | | | | summary: (7) expand
439 | | | | |
439 | | | | |
440 +---o | | changeset: 6:b105a072e251
440 +---o | | changeset: 6:b105a072e251
441 | |/ / / parent: 2:3d9a33b8d1e1
441 | |/ / / parent: 2:3d9a33b8d1e1
442 | | | | parent: 5:4409d547b708
442 | | | | parent: 5:4409d547b708
443 | | | | user: test
443 | | | | user: test
444 | | | | date: Thu Jan 01 00:00:06 1970 +0000
444 | | | | date: Thu Jan 01 00:00:06 1970 +0000
445 | | | | summary: (6) merge two known; one immediate left, one far left
445 | | | | summary: (6) merge two known; one immediate left, one far left
446 | | | |
446 | | | |
447 | o | | changeset: 5:4409d547b708
447 | o | | changeset: 5:4409d547b708
448 | |\ \ \ parent: 3:27eef8ed80b4
448 | |\ \ \ parent: 3:27eef8ed80b4
449 | | | | | parent: 4:26a8bac39d9f
449 | | | | | parent: 4:26a8bac39d9f
450 | | | | | user: test
450 | | | | | user: test
451 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
451 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
452 | | | | | summary: (5) expand
452 | | | | | summary: (5) expand
453 | | | | |
453 | | | | |
454 | | o | | changeset: 4:26a8bac39d9f
454 | | o | | changeset: 4:26a8bac39d9f
455 | |/|/ / parent: 1:6db2ef61d156
455 | |/|/ / parent: 1:6db2ef61d156
456 | | | | parent: 3:27eef8ed80b4
456 | | | | parent: 3:27eef8ed80b4
457 | | | | user: test
457 | | | | user: test
458 | | | | date: Thu Jan 01 00:00:04 1970 +0000
458 | | | | date: Thu Jan 01 00:00:04 1970 +0000
459 | | | | summary: (4) merge two known; one immediate left, one immediate right
459 | | | | summary: (4) merge two known; one immediate left, one immediate right
460 | | | |
460 | | | |
461 | o | | changeset: 3:27eef8ed80b4
461 | o | | changeset: 3:27eef8ed80b4
462 |/ / / user: test
462 |/ / / user: test
463 | | | date: Thu Jan 01 00:00:03 1970 +0000
463 | | | date: Thu Jan 01 00:00:03 1970 +0000
464 | | | summary: (3) collapse
464 | | | summary: (3) collapse
465 | | |
465 | | |
466 o | | changeset: 2:3d9a33b8d1e1
466 o | | changeset: 2:3d9a33b8d1e1
467 |/ / user: test
467 |/ / user: test
468 | | date: Thu Jan 01 00:00:02 1970 +0000
468 | | date: Thu Jan 01 00:00:02 1970 +0000
469 | | summary: (2) collapse
469 | | summary: (2) collapse
470 | |
470 | |
471 o | changeset: 1:6db2ef61d156
471 o | changeset: 1:6db2ef61d156
472 |/ user: test
472 |/ user: test
473 | date: Thu Jan 01 00:00:01 1970 +0000
473 | date: Thu Jan 01 00:00:01 1970 +0000
474 | summary: (1) collapse
474 | summary: (1) collapse
475 |
475 |
476 o changeset: 0:e6eb3150255d
476 o changeset: 0:e6eb3150255d
477 user: test
477 user: test
478 date: Thu Jan 01 00:00:00 1970 +0000
478 date: Thu Jan 01 00:00:00 1970 +0000
479 summary: (0) root
479 summary: (0) root
480
480
481
481
482 File glog:
482 File glog:
483 $ hg log -G a
483 $ hg log -G a
484 @ changeset: 34:fea3ac5810e0
484 @ changeset: 34:fea3ac5810e0
485 | tag: tip
485 | tag: tip
486 | parent: 32:d06dffa21a31
486 | parent: 32:d06dffa21a31
487 | user: test
487 | user: test
488 | date: Thu Jan 01 00:00:34 1970 +0000
488 | date: Thu Jan 01 00:00:34 1970 +0000
489 | summary: (34) head
489 | summary: (34) head
490 |
490 |
491 | o changeset: 33:68608f5145f9
491 | o changeset: 33:68608f5145f9
492 | | parent: 18:1aa84d96232a
492 | | parent: 18:1aa84d96232a
493 | | user: test
493 | | user: test
494 | | date: Thu Jan 01 00:00:33 1970 +0000
494 | | date: Thu Jan 01 00:00:33 1970 +0000
495 | | summary: (33) head
495 | | summary: (33) head
496 | |
496 | |
497 o | changeset: 32:d06dffa21a31
497 o | changeset: 32:d06dffa21a31
498 |\ \ parent: 27:886ed638191b
498 |\ \ parent: 27:886ed638191b
499 | | | parent: 31:621d83e11f67
499 | | | parent: 31:621d83e11f67
500 | | | user: test
500 | | | user: test
501 | | | date: Thu Jan 01 00:00:32 1970 +0000
501 | | | date: Thu Jan 01 00:00:32 1970 +0000
502 | | | summary: (32) expand
502 | | | summary: (32) expand
503 | | |
503 | | |
504 | o | changeset: 31:621d83e11f67
504 | o | changeset: 31:621d83e11f67
505 | |\ \ parent: 21:d42a756af44d
505 | |\ \ parent: 21:d42a756af44d
506 | | | | parent: 30:6e11cd4b648f
506 | | | | parent: 30:6e11cd4b648f
507 | | | | user: test
507 | | | | user: test
508 | | | | date: Thu Jan 01 00:00:31 1970 +0000
508 | | | | date: Thu Jan 01 00:00:31 1970 +0000
509 | | | | summary: (31) expand
509 | | | | summary: (31) expand
510 | | | |
510 | | | |
511 | | o | changeset: 30:6e11cd4b648f
511 | | o | changeset: 30:6e11cd4b648f
512 | | |\ \ parent: 28:44ecd0b9ae99
512 | | |\ \ parent: 28:44ecd0b9ae99
513 | | | | | parent: 29:cd9bb2be7593
513 | | | | | parent: 29:cd9bb2be7593
514 | | | | | user: test
514 | | | | | user: test
515 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
515 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
516 | | | | | summary: (30) expand
516 | | | | | summary: (30) expand
517 | | | | |
517 | | | | |
518 | | | o | changeset: 29:cd9bb2be7593
518 | | | o | changeset: 29:cd9bb2be7593
519 | | | | | parent: 0:e6eb3150255d
519 | | | | | parent: 0:e6eb3150255d
520 | | | | | user: test
520 | | | | | user: test
521 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
521 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
522 | | | | | summary: (29) regular commit
522 | | | | | summary: (29) regular commit
523 | | | | |
523 | | | | |
524 | | o | | changeset: 28:44ecd0b9ae99
524 | | o | | changeset: 28:44ecd0b9ae99
525 | | |\ \ \ parent: 1:6db2ef61d156
525 | | |\ \ \ parent: 1:6db2ef61d156
526 | | | | | | parent: 26:7f25b6c2f0b9
526 | | | | | | parent: 26:7f25b6c2f0b9
527 | | | | | | user: test
527 | | | | | | user: test
528 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
528 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
529 | | | | | | summary: (28) merge zero known
529 | | | | | | summary: (28) merge zero known
530 | | | | | |
530 | | | | | |
531 o | | | | | changeset: 27:886ed638191b
531 o | | | | | changeset: 27:886ed638191b
532 |/ / / / / parent: 21:d42a756af44d
532 |/ / / / / parent: 21:d42a756af44d
533 | | | | | user: test
533 | | | | | user: test
534 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
534 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
535 | | | | | summary: (27) collapse
535 | | | | | summary: (27) collapse
536 | | | | |
536 | | | | |
537 | | o---+ changeset: 26:7f25b6c2f0b9
537 | | o---+ changeset: 26:7f25b6c2f0b9
538 | | | | | parent: 18:1aa84d96232a
538 | | | | | parent: 18:1aa84d96232a
539 | | | | | parent: 25:91da8ed57247
539 | | | | | parent: 25:91da8ed57247
540 | | | | | user: test
540 | | | | | user: test
541 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
541 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
542 | | | | | summary: (26) merge one known; far right
542 | | | | | summary: (26) merge one known; far right
543 | | | | |
543 | | | | |
544 +---o | | changeset: 25:91da8ed57247
544 +---o | | changeset: 25:91da8ed57247
545 | | | | | parent: 21:d42a756af44d
545 | | | | | parent: 21:d42a756af44d
546 | | | | | parent: 24:a9c19a3d96b7
546 | | | | | parent: 24:a9c19a3d96b7
547 | | | | | user: test
547 | | | | | user: test
548 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
548 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
549 | | | | | summary: (25) merge one known; far left
549 | | | | | summary: (25) merge one known; far left
550 | | | | |
550 | | | | |
551 | | o | | changeset: 24:a9c19a3d96b7
551 | | o | | changeset: 24:a9c19a3d96b7
552 | | |\| | parent: 0:e6eb3150255d
552 | | |\| | parent: 0:e6eb3150255d
553 | | | | | parent: 23:a01cddf0766d
553 | | | | | parent: 23:a01cddf0766d
554 | | | | | user: test
554 | | | | | user: test
555 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
555 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
556 | | | | | summary: (24) merge one known; immediate right
556 | | | | | summary: (24) merge one known; immediate right
557 | | | | |
557 | | | | |
558 | | o | | changeset: 23:a01cddf0766d
558 | | o | | changeset: 23:a01cddf0766d
559 | |/| | | parent: 1:6db2ef61d156
559 | |/| | | parent: 1:6db2ef61d156
560 | | | | | parent: 22:e0d9cccacb5d
560 | | | | | parent: 22:e0d9cccacb5d
561 | | | | | user: test
561 | | | | | user: test
562 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
562 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
563 | | | | | summary: (23) merge one known; immediate left
563 | | | | | summary: (23) merge one known; immediate left
564 | | | | |
564 | | | | |
565 +---o---+ changeset: 22:e0d9cccacb5d
565 +---o---+ changeset: 22:e0d9cccacb5d
566 | | | | parent: 18:1aa84d96232a
566 | | | | parent: 18:1aa84d96232a
567 | | / / parent: 21:d42a756af44d
567 | | / / parent: 21:d42a756af44d
568 | | | | user: test
568 | | | | user: test
569 | | | | date: Thu Jan 01 00:00:22 1970 +0000
569 | | | | date: Thu Jan 01 00:00:22 1970 +0000
570 | | | | summary: (22) merge two known; one far left, one far right
570 | | | | summary: (22) merge two known; one far left, one far right
571 | | | |
571 | | | |
572 o | | | changeset: 21:d42a756af44d
572 o | | | changeset: 21:d42a756af44d
573 |\ \ \ \ parent: 19:31ddc2c1573b
573 |\ \ \ \ parent: 19:31ddc2c1573b
574 | | | | | parent: 20:d30ed6450e32
574 | | | | | parent: 20:d30ed6450e32
575 | | | | | user: test
575 | | | | | user: test
576 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
576 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
577 | | | | | summary: (21) expand
577 | | | | | summary: (21) expand
578 | | | | |
578 | | | | |
579 | o---+-+ changeset: 20:d30ed6450e32
579 | o---+-+ changeset: 20:d30ed6450e32
580 | | | | parent: 0:e6eb3150255d
580 | | | | parent: 0:e6eb3150255d
581 | / / / parent: 18:1aa84d96232a
581 | / / / parent: 18:1aa84d96232a
582 | | | | user: test
582 | | | | user: test
583 | | | | date: Thu Jan 01 00:00:20 1970 +0000
583 | | | | date: Thu Jan 01 00:00:20 1970 +0000
584 | | | | summary: (20) merge two known; two far right
584 | | | | summary: (20) merge two known; two far right
585 | | | |
585 | | | |
586 o | | | changeset: 19:31ddc2c1573b
586 o | | | changeset: 19:31ddc2c1573b
587 |\ \ \ \ parent: 15:1dda3f72782d
587 |\ \ \ \ parent: 15:1dda3f72782d
588 | | | | | parent: 17:44765d7c06e0
588 | | | | | parent: 17:44765d7c06e0
589 | | | | | user: test
589 | | | | | user: test
590 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
590 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
591 | | | | | summary: (19) expand
591 | | | | | summary: (19) expand
592 | | | | |
592 | | | | |
593 +---+---o changeset: 18:1aa84d96232a
593 +---+---o changeset: 18:1aa84d96232a
594 | | | | parent: 1:6db2ef61d156
594 | | | | parent: 1:6db2ef61d156
595 | | | | parent: 15:1dda3f72782d
595 | | | | parent: 15:1dda3f72782d
596 | | | | user: test
596 | | | | user: test
597 | | | | date: Thu Jan 01 00:00:18 1970 +0000
597 | | | | date: Thu Jan 01 00:00:18 1970 +0000
598 | | | | summary: (18) merge two known; two far left
598 | | | | summary: (18) merge two known; two far left
599 | | | |
599 | | | |
600 | o | | changeset: 17:44765d7c06e0
600 | o | | changeset: 17:44765d7c06e0
601 | |\ \ \ parent: 12:86b91144a6e9
601 | |\ \ \ parent: 12:86b91144a6e9
602 | | | | | parent: 16:3677d192927d
602 | | | | | parent: 16:3677d192927d
603 | | | | | user: test
603 | | | | | user: test
604 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
604 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
605 | | | | | summary: (17) expand
605 | | | | | summary: (17) expand
606 | | | | |
606 | | | | |
607 | | o---+ changeset: 16:3677d192927d
607 | | o---+ changeset: 16:3677d192927d
608 | | | | | parent: 0:e6eb3150255d
608 | | | | | parent: 0:e6eb3150255d
609 | | |/ / parent: 1:6db2ef61d156
609 | | |/ / parent: 1:6db2ef61d156
610 | | | | user: test
610 | | | | user: test
611 | | | | date: Thu Jan 01 00:00:16 1970 +0000
611 | | | | date: Thu Jan 01 00:00:16 1970 +0000
612 | | | | summary: (16) merge two known; one immediate right, one near right
612 | | | | summary: (16) merge two known; one immediate right, one near right
613 | | | |
613 | | | |
614 o | | | changeset: 15:1dda3f72782d
614 o | | | changeset: 15:1dda3f72782d
615 |\ \ \ \ parent: 13:22d8966a97e3
615 |\ \ \ \ parent: 13:22d8966a97e3
616 | | | | | parent: 14:8eac370358ef
616 | | | | | parent: 14:8eac370358ef
617 | | | | | user: test
617 | | | | | user: test
618 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
618 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
619 | | | | | summary: (15) expand
619 | | | | | summary: (15) expand
620 | | | | |
620 | | | | |
621 | o-----+ changeset: 14:8eac370358ef
621 | o-----+ changeset: 14:8eac370358ef
622 | | | | | parent: 0:e6eb3150255d
622 | | | | | parent: 0:e6eb3150255d
623 | |/ / / parent: 12:86b91144a6e9
623 | |/ / / parent: 12:86b91144a6e9
624 | | | | user: test
624 | | | | user: test
625 | | | | date: Thu Jan 01 00:00:14 1970 +0000
625 | | | | date: Thu Jan 01 00:00:14 1970 +0000
626 | | | | summary: (14) merge two known; one immediate right, one far right
626 | | | | summary: (14) merge two known; one immediate right, one far right
627 | | | |
627 | | | |
628 o | | | changeset: 13:22d8966a97e3
628 o | | | changeset: 13:22d8966a97e3
629 |\ \ \ \ parent: 9:7010c0af0a35
629 |\ \ \ \ parent: 9:7010c0af0a35
630 | | | | | parent: 11:832d76e6bdf2
630 | | | | | parent: 11:832d76e6bdf2
631 | | | | | user: test
631 | | | | | user: test
632 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
632 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
633 | | | | | summary: (13) expand
633 | | | | | summary: (13) expand
634 | | | | |
634 | | | | |
635 +---o | | changeset: 12:86b91144a6e9
635 +---o | | changeset: 12:86b91144a6e9
636 | | |/ / parent: 1:6db2ef61d156
636 | | |/ / parent: 1:6db2ef61d156
637 | | | | parent: 9:7010c0af0a35
637 | | | | parent: 9:7010c0af0a35
638 | | | | user: test
638 | | | | user: test
639 | | | | date: Thu Jan 01 00:00:12 1970 +0000
639 | | | | date: Thu Jan 01 00:00:12 1970 +0000
640 | | | | summary: (12) merge two known; one immediate right, one far left
640 | | | | summary: (12) merge two known; one immediate right, one far left
641 | | | |
641 | | | |
642 | o | | changeset: 11:832d76e6bdf2
642 | o | | changeset: 11:832d76e6bdf2
643 | |\ \ \ parent: 6:b105a072e251
643 | |\ \ \ parent: 6:b105a072e251
644 | | | | | parent: 10:74c64d036d72
644 | | | | | parent: 10:74c64d036d72
645 | | | | | user: test
645 | | | | | user: test
646 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
646 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
647 | | | | | summary: (11) expand
647 | | | | | summary: (11) expand
648 | | | | |
648 | | | | |
649 | | o---+ changeset: 10:74c64d036d72
649 | | o---+ changeset: 10:74c64d036d72
650 | | | | | parent: 0:e6eb3150255d
650 | | | | | parent: 0:e6eb3150255d
651 | |/ / / parent: 6:b105a072e251
651 | |/ / / parent: 6:b105a072e251
652 | | | | user: test
652 | | | | user: test
653 | | | | date: Thu Jan 01 00:00:10 1970 +0000
653 | | | | date: Thu Jan 01 00:00:10 1970 +0000
654 | | | | summary: (10) merge two known; one immediate left, one near right
654 | | | | summary: (10) merge two known; one immediate left, one near right
655 | | | |
655 | | | |
656 o | | | changeset: 9:7010c0af0a35
656 o | | | changeset: 9:7010c0af0a35
657 |\ \ \ \ parent: 7:b632bb1b1224
657 |\ \ \ \ parent: 7:b632bb1b1224
658 | | | | | parent: 8:7a0b11f71937
658 | | | | | parent: 8:7a0b11f71937
659 | | | | | user: test
659 | | | | | user: test
660 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
660 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
661 | | | | | summary: (9) expand
661 | | | | | summary: (9) expand
662 | | | | |
662 | | | | |
663 | o-----+ changeset: 8:7a0b11f71937
663 | o-----+ changeset: 8:7a0b11f71937
664 | | | | | parent: 0:e6eb3150255d
664 | | | | | parent: 0:e6eb3150255d
665 |/ / / / parent: 7:b632bb1b1224
665 |/ / / / parent: 7:b632bb1b1224
666 | | | | user: test
666 | | | | user: test
667 | | | | date: Thu Jan 01 00:00:08 1970 +0000
667 | | | | date: Thu Jan 01 00:00:08 1970 +0000
668 | | | | summary: (8) merge two known; one immediate left, one far right
668 | | | | summary: (8) merge two known; one immediate left, one far right
669 | | | |
669 | | | |
670 o | | | changeset: 7:b632bb1b1224
670 o | | | changeset: 7:b632bb1b1224
671 |\ \ \ \ parent: 2:3d9a33b8d1e1
671 |\ \ \ \ parent: 2:3d9a33b8d1e1
672 | | | | | parent: 5:4409d547b708
672 | | | | | parent: 5:4409d547b708
673 | | | | | user: test
673 | | | | | user: test
674 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
674 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
675 | | | | | summary: (7) expand
675 | | | | | summary: (7) expand
676 | | | | |
676 | | | | |
677 +---o | | changeset: 6:b105a072e251
677 +---o | | changeset: 6:b105a072e251
678 | |/ / / parent: 2:3d9a33b8d1e1
678 | |/ / / parent: 2:3d9a33b8d1e1
679 | | | | parent: 5:4409d547b708
679 | | | | parent: 5:4409d547b708
680 | | | | user: test
680 | | | | user: test
681 | | | | date: Thu Jan 01 00:00:06 1970 +0000
681 | | | | date: Thu Jan 01 00:00:06 1970 +0000
682 | | | | summary: (6) merge two known; one immediate left, one far left
682 | | | | summary: (6) merge two known; one immediate left, one far left
683 | | | |
683 | | | |
684 | o | | changeset: 5:4409d547b708
684 | o | | changeset: 5:4409d547b708
685 | |\ \ \ parent: 3:27eef8ed80b4
685 | |\ \ \ parent: 3:27eef8ed80b4
686 | | | | | parent: 4:26a8bac39d9f
686 | | | | | parent: 4:26a8bac39d9f
687 | | | | | user: test
687 | | | | | user: test
688 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
688 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
689 | | | | | summary: (5) expand
689 | | | | | summary: (5) expand
690 | | | | |
690 | | | | |
691 | | o | | changeset: 4:26a8bac39d9f
691 | | o | | changeset: 4:26a8bac39d9f
692 | |/|/ / parent: 1:6db2ef61d156
692 | |/|/ / parent: 1:6db2ef61d156
693 | | | | parent: 3:27eef8ed80b4
693 | | | | parent: 3:27eef8ed80b4
694 | | | | user: test
694 | | | | user: test
695 | | | | date: Thu Jan 01 00:00:04 1970 +0000
695 | | | | date: Thu Jan 01 00:00:04 1970 +0000
696 | | | | summary: (4) merge two known; one immediate left, one immediate right
696 | | | | summary: (4) merge two known; one immediate left, one immediate right
697 | | | |
697 | | | |
698 | o | | changeset: 3:27eef8ed80b4
698 | o | | changeset: 3:27eef8ed80b4
699 |/ / / user: test
699 |/ / / user: test
700 | | | date: Thu Jan 01 00:00:03 1970 +0000
700 | | | date: Thu Jan 01 00:00:03 1970 +0000
701 | | | summary: (3) collapse
701 | | | summary: (3) collapse
702 | | |
702 | | |
703 o | | changeset: 2:3d9a33b8d1e1
703 o | | changeset: 2:3d9a33b8d1e1
704 |/ / user: test
704 |/ / user: test
705 | | date: Thu Jan 01 00:00:02 1970 +0000
705 | | date: Thu Jan 01 00:00:02 1970 +0000
706 | | summary: (2) collapse
706 | | summary: (2) collapse
707 | |
707 | |
708 o | changeset: 1:6db2ef61d156
708 o | changeset: 1:6db2ef61d156
709 |/ user: test
709 |/ user: test
710 | date: Thu Jan 01 00:00:01 1970 +0000
710 | date: Thu Jan 01 00:00:01 1970 +0000
711 | summary: (1) collapse
711 | summary: (1) collapse
712 |
712 |
713 o changeset: 0:e6eb3150255d
713 o changeset: 0:e6eb3150255d
714 user: test
714 user: test
715 date: Thu Jan 01 00:00:00 1970 +0000
715 date: Thu Jan 01 00:00:00 1970 +0000
716 summary: (0) root
716 summary: (0) root
717
717
718
718
719 File glog per revset:
719 File glog per revset:
720
720
721 $ hg log -G -r 'file("a")'
721 $ hg log -G -r 'file("a")'
722 @ changeset: 34:fea3ac5810e0
722 @ changeset: 34:fea3ac5810e0
723 | tag: tip
723 | tag: tip
724 | parent: 32:d06dffa21a31
724 | parent: 32:d06dffa21a31
725 | user: test
725 | user: test
726 | date: Thu Jan 01 00:00:34 1970 +0000
726 | date: Thu Jan 01 00:00:34 1970 +0000
727 | summary: (34) head
727 | summary: (34) head
728 |
728 |
729 | o changeset: 33:68608f5145f9
729 | o changeset: 33:68608f5145f9
730 | | parent: 18:1aa84d96232a
730 | | parent: 18:1aa84d96232a
731 | | user: test
731 | | user: test
732 | | date: Thu Jan 01 00:00:33 1970 +0000
732 | | date: Thu Jan 01 00:00:33 1970 +0000
733 | | summary: (33) head
733 | | summary: (33) head
734 | |
734 | |
735 o | changeset: 32:d06dffa21a31
735 o | changeset: 32:d06dffa21a31
736 |\ \ parent: 27:886ed638191b
736 |\ \ parent: 27:886ed638191b
737 | | | parent: 31:621d83e11f67
737 | | | parent: 31:621d83e11f67
738 | | | user: test
738 | | | user: test
739 | | | date: Thu Jan 01 00:00:32 1970 +0000
739 | | | date: Thu Jan 01 00:00:32 1970 +0000
740 | | | summary: (32) expand
740 | | | summary: (32) expand
741 | | |
741 | | |
742 | o | changeset: 31:621d83e11f67
742 | o | changeset: 31:621d83e11f67
743 | |\ \ parent: 21:d42a756af44d
743 | |\ \ parent: 21:d42a756af44d
744 | | | | parent: 30:6e11cd4b648f
744 | | | | parent: 30:6e11cd4b648f
745 | | | | user: test
745 | | | | user: test
746 | | | | date: Thu Jan 01 00:00:31 1970 +0000
746 | | | | date: Thu Jan 01 00:00:31 1970 +0000
747 | | | | summary: (31) expand
747 | | | | summary: (31) expand
748 | | | |
748 | | | |
749 | | o | changeset: 30:6e11cd4b648f
749 | | o | changeset: 30:6e11cd4b648f
750 | | |\ \ parent: 28:44ecd0b9ae99
750 | | |\ \ parent: 28:44ecd0b9ae99
751 | | | | | parent: 29:cd9bb2be7593
751 | | | | | parent: 29:cd9bb2be7593
752 | | | | | user: test
752 | | | | | user: test
753 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
753 | | | | | date: Thu Jan 01 00:00:30 1970 +0000
754 | | | | | summary: (30) expand
754 | | | | | summary: (30) expand
755 | | | | |
755 | | | | |
756 | | | o | changeset: 29:cd9bb2be7593
756 | | | o | changeset: 29:cd9bb2be7593
757 | | | | | parent: 0:e6eb3150255d
757 | | | | | parent: 0:e6eb3150255d
758 | | | | | user: test
758 | | | | | user: test
759 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
759 | | | | | date: Thu Jan 01 00:00:29 1970 +0000
760 | | | | | summary: (29) regular commit
760 | | | | | summary: (29) regular commit
761 | | | | |
761 | | | | |
762 | | o | | changeset: 28:44ecd0b9ae99
762 | | o | | changeset: 28:44ecd0b9ae99
763 | | |\ \ \ parent: 1:6db2ef61d156
763 | | |\ \ \ parent: 1:6db2ef61d156
764 | | | | | | parent: 26:7f25b6c2f0b9
764 | | | | | | parent: 26:7f25b6c2f0b9
765 | | | | | | user: test
765 | | | | | | user: test
766 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
766 | | | | | | date: Thu Jan 01 00:00:28 1970 +0000
767 | | | | | | summary: (28) merge zero known
767 | | | | | | summary: (28) merge zero known
768 | | | | | |
768 | | | | | |
769 o | | | | | changeset: 27:886ed638191b
769 o | | | | | changeset: 27:886ed638191b
770 |/ / / / / parent: 21:d42a756af44d
770 |/ / / / / parent: 21:d42a756af44d
771 | | | | | user: test
771 | | | | | user: test
772 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
772 | | | | | date: Thu Jan 01 00:00:27 1970 +0000
773 | | | | | summary: (27) collapse
773 | | | | | summary: (27) collapse
774 | | | | |
774 | | | | |
775 | | o---+ changeset: 26:7f25b6c2f0b9
775 | | o---+ changeset: 26:7f25b6c2f0b9
776 | | | | | parent: 18:1aa84d96232a
776 | | | | | parent: 18:1aa84d96232a
777 | | | | | parent: 25:91da8ed57247
777 | | | | | parent: 25:91da8ed57247
778 | | | | | user: test
778 | | | | | user: test
779 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
779 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
780 | | | | | summary: (26) merge one known; far right
780 | | | | | summary: (26) merge one known; far right
781 | | | | |
781 | | | | |
782 +---o | | changeset: 25:91da8ed57247
782 +---o | | changeset: 25:91da8ed57247
783 | | | | | parent: 21:d42a756af44d
783 | | | | | parent: 21:d42a756af44d
784 | | | | | parent: 24:a9c19a3d96b7
784 | | | | | parent: 24:a9c19a3d96b7
785 | | | | | user: test
785 | | | | | user: test
786 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
786 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
787 | | | | | summary: (25) merge one known; far left
787 | | | | | summary: (25) merge one known; far left
788 | | | | |
788 | | | | |
789 | | o | | changeset: 24:a9c19a3d96b7
789 | | o | | changeset: 24:a9c19a3d96b7
790 | | |\| | parent: 0:e6eb3150255d
790 | | |\| | parent: 0:e6eb3150255d
791 | | | | | parent: 23:a01cddf0766d
791 | | | | | parent: 23:a01cddf0766d
792 | | | | | user: test
792 | | | | | user: test
793 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
793 | | | | | date: Thu Jan 01 00:00:24 1970 +0000
794 | | | | | summary: (24) merge one known; immediate right
794 | | | | | summary: (24) merge one known; immediate right
795 | | | | |
795 | | | | |
796 | | o | | changeset: 23:a01cddf0766d
796 | | o | | changeset: 23:a01cddf0766d
797 | |/| | | parent: 1:6db2ef61d156
797 | |/| | | parent: 1:6db2ef61d156
798 | | | | | parent: 22:e0d9cccacb5d
798 | | | | | parent: 22:e0d9cccacb5d
799 | | | | | user: test
799 | | | | | user: test
800 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
800 | | | | | date: Thu Jan 01 00:00:23 1970 +0000
801 | | | | | summary: (23) merge one known; immediate left
801 | | | | | summary: (23) merge one known; immediate left
802 | | | | |
802 | | | | |
803 +---o---+ changeset: 22:e0d9cccacb5d
803 +---o---+ changeset: 22:e0d9cccacb5d
804 | | | | parent: 18:1aa84d96232a
804 | | | | parent: 18:1aa84d96232a
805 | | / / parent: 21:d42a756af44d
805 | | / / parent: 21:d42a756af44d
806 | | | | user: test
806 | | | | user: test
807 | | | | date: Thu Jan 01 00:00:22 1970 +0000
807 | | | | date: Thu Jan 01 00:00:22 1970 +0000
808 | | | | summary: (22) merge two known; one far left, one far right
808 | | | | summary: (22) merge two known; one far left, one far right
809 | | | |
809 | | | |
810 o | | | changeset: 21:d42a756af44d
810 o | | | changeset: 21:d42a756af44d
811 |\ \ \ \ parent: 19:31ddc2c1573b
811 |\ \ \ \ parent: 19:31ddc2c1573b
812 | | | | | parent: 20:d30ed6450e32
812 | | | | | parent: 20:d30ed6450e32
813 | | | | | user: test
813 | | | | | user: test
814 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
814 | | | | | date: Thu Jan 01 00:00:21 1970 +0000
815 | | | | | summary: (21) expand
815 | | | | | summary: (21) expand
816 | | | | |
816 | | | | |
817 | o---+-+ changeset: 20:d30ed6450e32
817 | o---+-+ changeset: 20:d30ed6450e32
818 | | | | parent: 0:e6eb3150255d
818 | | | | parent: 0:e6eb3150255d
819 | / / / parent: 18:1aa84d96232a
819 | / / / parent: 18:1aa84d96232a
820 | | | | user: test
820 | | | | user: test
821 | | | | date: Thu Jan 01 00:00:20 1970 +0000
821 | | | | date: Thu Jan 01 00:00:20 1970 +0000
822 | | | | summary: (20) merge two known; two far right
822 | | | | summary: (20) merge two known; two far right
823 | | | |
823 | | | |
824 o | | | changeset: 19:31ddc2c1573b
824 o | | | changeset: 19:31ddc2c1573b
825 |\ \ \ \ parent: 15:1dda3f72782d
825 |\ \ \ \ parent: 15:1dda3f72782d
826 | | | | | parent: 17:44765d7c06e0
826 | | | | | parent: 17:44765d7c06e0
827 | | | | | user: test
827 | | | | | user: test
828 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
828 | | | | | date: Thu Jan 01 00:00:19 1970 +0000
829 | | | | | summary: (19) expand
829 | | | | | summary: (19) expand
830 | | | | |
830 | | | | |
831 +---+---o changeset: 18:1aa84d96232a
831 +---+---o changeset: 18:1aa84d96232a
832 | | | | parent: 1:6db2ef61d156
832 | | | | parent: 1:6db2ef61d156
833 | | | | parent: 15:1dda3f72782d
833 | | | | parent: 15:1dda3f72782d
834 | | | | user: test
834 | | | | user: test
835 | | | | date: Thu Jan 01 00:00:18 1970 +0000
835 | | | | date: Thu Jan 01 00:00:18 1970 +0000
836 | | | | summary: (18) merge two known; two far left
836 | | | | summary: (18) merge two known; two far left
837 | | | |
837 | | | |
838 | o | | changeset: 17:44765d7c06e0
838 | o | | changeset: 17:44765d7c06e0
839 | |\ \ \ parent: 12:86b91144a6e9
839 | |\ \ \ parent: 12:86b91144a6e9
840 | | | | | parent: 16:3677d192927d
840 | | | | | parent: 16:3677d192927d
841 | | | | | user: test
841 | | | | | user: test
842 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
842 | | | | | date: Thu Jan 01 00:00:17 1970 +0000
843 | | | | | summary: (17) expand
843 | | | | | summary: (17) expand
844 | | | | |
844 | | | | |
845 | | o---+ changeset: 16:3677d192927d
845 | | o---+ changeset: 16:3677d192927d
846 | | | | | parent: 0:e6eb3150255d
846 | | | | | parent: 0:e6eb3150255d
847 | | |/ / parent: 1:6db2ef61d156
847 | | |/ / parent: 1:6db2ef61d156
848 | | | | user: test
848 | | | | user: test
849 | | | | date: Thu Jan 01 00:00:16 1970 +0000
849 | | | | date: Thu Jan 01 00:00:16 1970 +0000
850 | | | | summary: (16) merge two known; one immediate right, one near right
850 | | | | summary: (16) merge two known; one immediate right, one near right
851 | | | |
851 | | | |
852 o | | | changeset: 15:1dda3f72782d
852 o | | | changeset: 15:1dda3f72782d
853 |\ \ \ \ parent: 13:22d8966a97e3
853 |\ \ \ \ parent: 13:22d8966a97e3
854 | | | | | parent: 14:8eac370358ef
854 | | | | | parent: 14:8eac370358ef
855 | | | | | user: test
855 | | | | | user: test
856 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
856 | | | | | date: Thu Jan 01 00:00:15 1970 +0000
857 | | | | | summary: (15) expand
857 | | | | | summary: (15) expand
858 | | | | |
858 | | | | |
859 | o-----+ changeset: 14:8eac370358ef
859 | o-----+ changeset: 14:8eac370358ef
860 | | | | | parent: 0:e6eb3150255d
860 | | | | | parent: 0:e6eb3150255d
861 | |/ / / parent: 12:86b91144a6e9
861 | |/ / / parent: 12:86b91144a6e9
862 | | | | user: test
862 | | | | user: test
863 | | | | date: Thu Jan 01 00:00:14 1970 +0000
863 | | | | date: Thu Jan 01 00:00:14 1970 +0000
864 | | | | summary: (14) merge two known; one immediate right, one far right
864 | | | | summary: (14) merge two known; one immediate right, one far right
865 | | | |
865 | | | |
866 o | | | changeset: 13:22d8966a97e3
866 o | | | changeset: 13:22d8966a97e3
867 |\ \ \ \ parent: 9:7010c0af0a35
867 |\ \ \ \ parent: 9:7010c0af0a35
868 | | | | | parent: 11:832d76e6bdf2
868 | | | | | parent: 11:832d76e6bdf2
869 | | | | | user: test
869 | | | | | user: test
870 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
870 | | | | | date: Thu Jan 01 00:00:13 1970 +0000
871 | | | | | summary: (13) expand
871 | | | | | summary: (13) expand
872 | | | | |
872 | | | | |
873 +---o | | changeset: 12:86b91144a6e9
873 +---o | | changeset: 12:86b91144a6e9
874 | | |/ / parent: 1:6db2ef61d156
874 | | |/ / parent: 1:6db2ef61d156
875 | | | | parent: 9:7010c0af0a35
875 | | | | parent: 9:7010c0af0a35
876 | | | | user: test
876 | | | | user: test
877 | | | | date: Thu Jan 01 00:00:12 1970 +0000
877 | | | | date: Thu Jan 01 00:00:12 1970 +0000
878 | | | | summary: (12) merge two known; one immediate right, one far left
878 | | | | summary: (12) merge two known; one immediate right, one far left
879 | | | |
879 | | | |
880 | o | | changeset: 11:832d76e6bdf2
880 | o | | changeset: 11:832d76e6bdf2
881 | |\ \ \ parent: 6:b105a072e251
881 | |\ \ \ parent: 6:b105a072e251
882 | | | | | parent: 10:74c64d036d72
882 | | | | | parent: 10:74c64d036d72
883 | | | | | user: test
883 | | | | | user: test
884 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
884 | | | | | date: Thu Jan 01 00:00:11 1970 +0000
885 | | | | | summary: (11) expand
885 | | | | | summary: (11) expand
886 | | | | |
886 | | | | |
887 | | o---+ changeset: 10:74c64d036d72
887 | | o---+ changeset: 10:74c64d036d72
888 | | | | | parent: 0:e6eb3150255d
888 | | | | | parent: 0:e6eb3150255d
889 | |/ / / parent: 6:b105a072e251
889 | |/ / / parent: 6:b105a072e251
890 | | | | user: test
890 | | | | user: test
891 | | | | date: Thu Jan 01 00:00:10 1970 +0000
891 | | | | date: Thu Jan 01 00:00:10 1970 +0000
892 | | | | summary: (10) merge two known; one immediate left, one near right
892 | | | | summary: (10) merge two known; one immediate left, one near right
893 | | | |
893 | | | |
894 o | | | changeset: 9:7010c0af0a35
894 o | | | changeset: 9:7010c0af0a35
895 |\ \ \ \ parent: 7:b632bb1b1224
895 |\ \ \ \ parent: 7:b632bb1b1224
896 | | | | | parent: 8:7a0b11f71937
896 | | | | | parent: 8:7a0b11f71937
897 | | | | | user: test
897 | | | | | user: test
898 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
898 | | | | | date: Thu Jan 01 00:00:09 1970 +0000
899 | | | | | summary: (9) expand
899 | | | | | summary: (9) expand
900 | | | | |
900 | | | | |
901 | o-----+ changeset: 8:7a0b11f71937
901 | o-----+ changeset: 8:7a0b11f71937
902 | | | | | parent: 0:e6eb3150255d
902 | | | | | parent: 0:e6eb3150255d
903 |/ / / / parent: 7:b632bb1b1224
903 |/ / / / parent: 7:b632bb1b1224
904 | | | | user: test
904 | | | | user: test
905 | | | | date: Thu Jan 01 00:00:08 1970 +0000
905 | | | | date: Thu Jan 01 00:00:08 1970 +0000
906 | | | | summary: (8) merge two known; one immediate left, one far right
906 | | | | summary: (8) merge two known; one immediate left, one far right
907 | | | |
907 | | | |
908 o | | | changeset: 7:b632bb1b1224
908 o | | | changeset: 7:b632bb1b1224
909 |\ \ \ \ parent: 2:3d9a33b8d1e1
909 |\ \ \ \ parent: 2:3d9a33b8d1e1
910 | | | | | parent: 5:4409d547b708
910 | | | | | parent: 5:4409d547b708
911 | | | | | user: test
911 | | | | | user: test
912 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
912 | | | | | date: Thu Jan 01 00:00:07 1970 +0000
913 | | | | | summary: (7) expand
913 | | | | | summary: (7) expand
914 | | | | |
914 | | | | |
915 +---o | | changeset: 6:b105a072e251
915 +---o | | changeset: 6:b105a072e251
916 | |/ / / parent: 2:3d9a33b8d1e1
916 | |/ / / parent: 2:3d9a33b8d1e1
917 | | | | parent: 5:4409d547b708
917 | | | | parent: 5:4409d547b708
918 | | | | user: test
918 | | | | user: test
919 | | | | date: Thu Jan 01 00:00:06 1970 +0000
919 | | | | date: Thu Jan 01 00:00:06 1970 +0000
920 | | | | summary: (6) merge two known; one immediate left, one far left
920 | | | | summary: (6) merge two known; one immediate left, one far left
921 | | | |
921 | | | |
922 | o | | changeset: 5:4409d547b708
922 | o | | changeset: 5:4409d547b708
923 | |\ \ \ parent: 3:27eef8ed80b4
923 | |\ \ \ parent: 3:27eef8ed80b4
924 | | | | | parent: 4:26a8bac39d9f
924 | | | | | parent: 4:26a8bac39d9f
925 | | | | | user: test
925 | | | | | user: test
926 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
926 | | | | | date: Thu Jan 01 00:00:05 1970 +0000
927 | | | | | summary: (5) expand
927 | | | | | summary: (5) expand
928 | | | | |
928 | | | | |
929 | | o | | changeset: 4:26a8bac39d9f
929 | | o | | changeset: 4:26a8bac39d9f
930 | |/|/ / parent: 1:6db2ef61d156
930 | |/|/ / parent: 1:6db2ef61d156
931 | | | | parent: 3:27eef8ed80b4
931 | | | | parent: 3:27eef8ed80b4
932 | | | | user: test
932 | | | | user: test
933 | | | | date: Thu Jan 01 00:00:04 1970 +0000
933 | | | | date: Thu Jan 01 00:00:04 1970 +0000
934 | | | | summary: (4) merge two known; one immediate left, one immediate right
934 | | | | summary: (4) merge two known; one immediate left, one immediate right
935 | | | |
935 | | | |
936 | o | | changeset: 3:27eef8ed80b4
936 | o | | changeset: 3:27eef8ed80b4
937 |/ / / user: test
937 |/ / / user: test
938 | | | date: Thu Jan 01 00:00:03 1970 +0000
938 | | | date: Thu Jan 01 00:00:03 1970 +0000
939 | | | summary: (3) collapse
939 | | | summary: (3) collapse
940 | | |
940 | | |
941 o | | changeset: 2:3d9a33b8d1e1
941 o | | changeset: 2:3d9a33b8d1e1
942 |/ / user: test
942 |/ / user: test
943 | | date: Thu Jan 01 00:00:02 1970 +0000
943 | | date: Thu Jan 01 00:00:02 1970 +0000
944 | | summary: (2) collapse
944 | | summary: (2) collapse
945 | |
945 | |
946 o | changeset: 1:6db2ef61d156
946 o | changeset: 1:6db2ef61d156
947 |/ user: test
947 |/ user: test
948 | date: Thu Jan 01 00:00:01 1970 +0000
948 | date: Thu Jan 01 00:00:01 1970 +0000
949 | summary: (1) collapse
949 | summary: (1) collapse
950 |
950 |
951 o changeset: 0:e6eb3150255d
951 o changeset: 0:e6eb3150255d
952 user: test
952 user: test
953 date: Thu Jan 01 00:00:00 1970 +0000
953 date: Thu Jan 01 00:00:00 1970 +0000
954 summary: (0) root
954 summary: (0) root
955
955
956
956
957
957
958 File glog per revset (only merges):
958 File glog per revset (only merges):
959
959
960 $ hg log -G -r 'file("a")' -m
960 $ hg log -G -r 'file("a")' -m
961 o changeset: 32:d06dffa21a31
961 o changeset: 32:d06dffa21a31
962 |\ parent: 27:886ed638191b
962 |\ parent: 27:886ed638191b
963 | : parent: 31:621d83e11f67
963 | : parent: 31:621d83e11f67
964 | : user: test
964 | : user: test
965 | : date: Thu Jan 01 00:00:32 1970 +0000
965 | : date: Thu Jan 01 00:00:32 1970 +0000
966 | : summary: (32) expand
966 | : summary: (32) expand
967 | :
967 | :
968 o : changeset: 31:621d83e11f67
968 o : changeset: 31:621d83e11f67
969 |\: parent: 21:d42a756af44d
969 |\: parent: 21:d42a756af44d
970 | : parent: 30:6e11cd4b648f
970 | : parent: 30:6e11cd4b648f
971 | : user: test
971 | : user: test
972 | : date: Thu Jan 01 00:00:31 1970 +0000
972 | : date: Thu Jan 01 00:00:31 1970 +0000
973 | : summary: (31) expand
973 | : summary: (31) expand
974 | :
974 | :
975 o : changeset: 30:6e11cd4b648f
975 o : changeset: 30:6e11cd4b648f
976 |\ \ parent: 28:44ecd0b9ae99
976 |\ \ parent: 28:44ecd0b9ae99
977 | ~ : parent: 29:cd9bb2be7593
977 | ~ : parent: 29:cd9bb2be7593
978 | : user: test
978 | : user: test
979 | : date: Thu Jan 01 00:00:30 1970 +0000
979 | : date: Thu Jan 01 00:00:30 1970 +0000
980 | : summary: (30) expand
980 | : summary: (30) expand
981 | /
981 | /
982 o : changeset: 28:44ecd0b9ae99
982 o : changeset: 28:44ecd0b9ae99
983 |\ \ parent: 1:6db2ef61d156
983 |\ \ parent: 1:6db2ef61d156
984 | ~ : parent: 26:7f25b6c2f0b9
984 | ~ : parent: 26:7f25b6c2f0b9
985 | : user: test
985 | : user: test
986 | : date: Thu Jan 01 00:00:28 1970 +0000
986 | : date: Thu Jan 01 00:00:28 1970 +0000
987 | : summary: (28) merge zero known
987 | : summary: (28) merge zero known
988 | /
988 | /
989 o : changeset: 26:7f25b6c2f0b9
989 o : changeset: 26:7f25b6c2f0b9
990 |\ \ parent: 18:1aa84d96232a
990 |\ \ parent: 18:1aa84d96232a
991 | | : parent: 25:91da8ed57247
991 | | : parent: 25:91da8ed57247
992 | | : user: test
992 | | : user: test
993 | | : date: Thu Jan 01 00:00:26 1970 +0000
993 | | : date: Thu Jan 01 00:00:26 1970 +0000
994 | | : summary: (26) merge one known; far right
994 | | : summary: (26) merge one known; far right
995 | | :
995 | | :
996 | o : changeset: 25:91da8ed57247
996 | o : changeset: 25:91da8ed57247
997 | |\: parent: 21:d42a756af44d
997 | |\: parent: 21:d42a756af44d
998 | | : parent: 24:a9c19a3d96b7
998 | | : parent: 24:a9c19a3d96b7
999 | | : user: test
999 | | : user: test
1000 | | : date: Thu Jan 01 00:00:25 1970 +0000
1000 | | : date: Thu Jan 01 00:00:25 1970 +0000
1001 | | : summary: (25) merge one known; far left
1001 | | : summary: (25) merge one known; far left
1002 | | :
1002 | | :
1003 | o : changeset: 24:a9c19a3d96b7
1003 | o : changeset: 24:a9c19a3d96b7
1004 | |\ \ parent: 0:e6eb3150255d
1004 | |\ \ parent: 0:e6eb3150255d
1005 | | ~ : parent: 23:a01cddf0766d
1005 | | ~ : parent: 23:a01cddf0766d
1006 | | : user: test
1006 | | : user: test
1007 | | : date: Thu Jan 01 00:00:24 1970 +0000
1007 | | : date: Thu Jan 01 00:00:24 1970 +0000
1008 | | : summary: (24) merge one known; immediate right
1008 | | : summary: (24) merge one known; immediate right
1009 | | /
1009 | | /
1010 | o : changeset: 23:a01cddf0766d
1010 | o : changeset: 23:a01cddf0766d
1011 | |\ \ parent: 1:6db2ef61d156
1011 | |\ \ parent: 1:6db2ef61d156
1012 | | ~ : parent: 22:e0d9cccacb5d
1012 | | ~ : parent: 22:e0d9cccacb5d
1013 | | : user: test
1013 | | : user: test
1014 | | : date: Thu Jan 01 00:00:23 1970 +0000
1014 | | : date: Thu Jan 01 00:00:23 1970 +0000
1015 | | : summary: (23) merge one known; immediate left
1015 | | : summary: (23) merge one known; immediate left
1016 | | /
1016 | | /
1017 | o : changeset: 22:e0d9cccacb5d
1017 | o : changeset: 22:e0d9cccacb5d
1018 |/:/ parent: 18:1aa84d96232a
1018 |/:/ parent: 18:1aa84d96232a
1019 | : parent: 21:d42a756af44d
1019 | : parent: 21:d42a756af44d
1020 | : user: test
1020 | : user: test
1021 | : date: Thu Jan 01 00:00:22 1970 +0000
1021 | : date: Thu Jan 01 00:00:22 1970 +0000
1022 | : summary: (22) merge two known; one far left, one far right
1022 | : summary: (22) merge two known; one far left, one far right
1023 | :
1023 | :
1024 | o changeset: 21:d42a756af44d
1024 | o changeset: 21:d42a756af44d
1025 | |\ parent: 19:31ddc2c1573b
1025 | |\ parent: 19:31ddc2c1573b
1026 | | | parent: 20:d30ed6450e32
1026 | | | parent: 20:d30ed6450e32
1027 | | | user: test
1027 | | | user: test
1028 | | | date: Thu Jan 01 00:00:21 1970 +0000
1028 | | | date: Thu Jan 01 00:00:21 1970 +0000
1029 | | | summary: (21) expand
1029 | | | summary: (21) expand
1030 | | |
1030 | | |
1031 +---o changeset: 20:d30ed6450e32
1031 +---o changeset: 20:d30ed6450e32
1032 | | | parent: 0:e6eb3150255d
1032 | | | parent: 0:e6eb3150255d
1033 | | ~ parent: 18:1aa84d96232a
1033 | | ~ parent: 18:1aa84d96232a
1034 | | user: test
1034 | | user: test
1035 | | date: Thu Jan 01 00:00:20 1970 +0000
1035 | | date: Thu Jan 01 00:00:20 1970 +0000
1036 | | summary: (20) merge two known; two far right
1036 | | summary: (20) merge two known; two far right
1037 | |
1037 | |
1038 | o changeset: 19:31ddc2c1573b
1038 | o changeset: 19:31ddc2c1573b
1039 | |\ parent: 15:1dda3f72782d
1039 | |\ parent: 15:1dda3f72782d
1040 | | | parent: 17:44765d7c06e0
1040 | | | parent: 17:44765d7c06e0
1041 | | | user: test
1041 | | | user: test
1042 | | | date: Thu Jan 01 00:00:19 1970 +0000
1042 | | | date: Thu Jan 01 00:00:19 1970 +0000
1043 | | | summary: (19) expand
1043 | | | summary: (19) expand
1044 | | |
1044 | | |
1045 o | | changeset: 18:1aa84d96232a
1045 o | | changeset: 18:1aa84d96232a
1046 |\| | parent: 1:6db2ef61d156
1046 |\| | parent: 1:6db2ef61d156
1047 ~ | | parent: 15:1dda3f72782d
1047 ~ | | parent: 15:1dda3f72782d
1048 | | user: test
1048 | | user: test
1049 | | date: Thu Jan 01 00:00:18 1970 +0000
1049 | | date: Thu Jan 01 00:00:18 1970 +0000
1050 | | summary: (18) merge two known; two far left
1050 | | summary: (18) merge two known; two far left
1051 / /
1051 / /
1052 | o changeset: 17:44765d7c06e0
1052 | o changeset: 17:44765d7c06e0
1053 | |\ parent: 12:86b91144a6e9
1053 | |\ parent: 12:86b91144a6e9
1054 | | | parent: 16:3677d192927d
1054 | | | parent: 16:3677d192927d
1055 | | | user: test
1055 | | | user: test
1056 | | | date: Thu Jan 01 00:00:17 1970 +0000
1056 | | | date: Thu Jan 01 00:00:17 1970 +0000
1057 | | | summary: (17) expand
1057 | | | summary: (17) expand
1058 | | |
1058 | | |
1059 | | o changeset: 16:3677d192927d
1059 | | o changeset: 16:3677d192927d
1060 | | |\ parent: 0:e6eb3150255d
1060 | | |\ parent: 0:e6eb3150255d
1061 | | ~ ~ parent: 1:6db2ef61d156
1061 | | ~ ~ parent: 1:6db2ef61d156
1062 | | user: test
1062 | | user: test
1063 | | date: Thu Jan 01 00:00:16 1970 +0000
1063 | | date: Thu Jan 01 00:00:16 1970 +0000
1064 | | summary: (16) merge two known; one immediate right, one near right
1064 | | summary: (16) merge two known; one immediate right, one near right
1065 | |
1065 | |
1066 o | changeset: 15:1dda3f72782d
1066 o | changeset: 15:1dda3f72782d
1067 |\ \ parent: 13:22d8966a97e3
1067 |\ \ parent: 13:22d8966a97e3
1068 | | | parent: 14:8eac370358ef
1068 | | | parent: 14:8eac370358ef
1069 | | | user: test
1069 | | | user: test
1070 | | | date: Thu Jan 01 00:00:15 1970 +0000
1070 | | | date: Thu Jan 01 00:00:15 1970 +0000
1071 | | | summary: (15) expand
1071 | | | summary: (15) expand
1072 | | |
1072 | | |
1073 | o | changeset: 14:8eac370358ef
1073 | o | changeset: 14:8eac370358ef
1074 | |\| parent: 0:e6eb3150255d
1074 | |\| parent: 0:e6eb3150255d
1075 | ~ | parent: 12:86b91144a6e9
1075 | ~ | parent: 12:86b91144a6e9
1076 | | user: test
1076 | | user: test
1077 | | date: Thu Jan 01 00:00:14 1970 +0000
1077 | | date: Thu Jan 01 00:00:14 1970 +0000
1078 | | summary: (14) merge two known; one immediate right, one far right
1078 | | summary: (14) merge two known; one immediate right, one far right
1079 | /
1079 | /
1080 o | changeset: 13:22d8966a97e3
1080 o | changeset: 13:22d8966a97e3
1081 |\ \ parent: 9:7010c0af0a35
1081 |\ \ parent: 9:7010c0af0a35
1082 | | | parent: 11:832d76e6bdf2
1082 | | | parent: 11:832d76e6bdf2
1083 | | | user: test
1083 | | | user: test
1084 | | | date: Thu Jan 01 00:00:13 1970 +0000
1084 | | | date: Thu Jan 01 00:00:13 1970 +0000
1085 | | | summary: (13) expand
1085 | | | summary: (13) expand
1086 | | |
1086 | | |
1087 +---o changeset: 12:86b91144a6e9
1087 +---o changeset: 12:86b91144a6e9
1088 | | | parent: 1:6db2ef61d156
1088 | | | parent: 1:6db2ef61d156
1089 | | ~ parent: 9:7010c0af0a35
1089 | | ~ parent: 9:7010c0af0a35
1090 | | user: test
1090 | | user: test
1091 | | date: Thu Jan 01 00:00:12 1970 +0000
1091 | | date: Thu Jan 01 00:00:12 1970 +0000
1092 | | summary: (12) merge two known; one immediate right, one far left
1092 | | summary: (12) merge two known; one immediate right, one far left
1093 | |
1093 | |
1094 | o changeset: 11:832d76e6bdf2
1094 | o changeset: 11:832d76e6bdf2
1095 | |\ parent: 6:b105a072e251
1095 | |\ parent: 6:b105a072e251
1096 | | | parent: 10:74c64d036d72
1096 | | | parent: 10:74c64d036d72
1097 | | | user: test
1097 | | | user: test
1098 | | | date: Thu Jan 01 00:00:11 1970 +0000
1098 | | | date: Thu Jan 01 00:00:11 1970 +0000
1099 | | | summary: (11) expand
1099 | | | summary: (11) expand
1100 | | |
1100 | | |
1101 | | o changeset: 10:74c64d036d72
1101 | | o changeset: 10:74c64d036d72
1102 | |/| parent: 0:e6eb3150255d
1102 | |/| parent: 0:e6eb3150255d
1103 | | ~ parent: 6:b105a072e251
1103 | | ~ parent: 6:b105a072e251
1104 | | user: test
1104 | | user: test
1105 | | date: Thu Jan 01 00:00:10 1970 +0000
1105 | | date: Thu Jan 01 00:00:10 1970 +0000
1106 | | summary: (10) merge two known; one immediate left, one near right
1106 | | summary: (10) merge two known; one immediate left, one near right
1107 | |
1107 | |
1108 o | changeset: 9:7010c0af0a35
1108 o | changeset: 9:7010c0af0a35
1109 |\ \ parent: 7:b632bb1b1224
1109 |\ \ parent: 7:b632bb1b1224
1110 | | | parent: 8:7a0b11f71937
1110 | | | parent: 8:7a0b11f71937
1111 | | | user: test
1111 | | | user: test
1112 | | | date: Thu Jan 01 00:00:09 1970 +0000
1112 | | | date: Thu Jan 01 00:00:09 1970 +0000
1113 | | | summary: (9) expand
1113 | | | summary: (9) expand
1114 | | |
1114 | | |
1115 | o | changeset: 8:7a0b11f71937
1115 | o | changeset: 8:7a0b11f71937
1116 |/| | parent: 0:e6eb3150255d
1116 |/| | parent: 0:e6eb3150255d
1117 | ~ | parent: 7:b632bb1b1224
1117 | ~ | parent: 7:b632bb1b1224
1118 | | user: test
1118 | | user: test
1119 | | date: Thu Jan 01 00:00:08 1970 +0000
1119 | | date: Thu Jan 01 00:00:08 1970 +0000
1120 | | summary: (8) merge two known; one immediate left, one far right
1120 | | summary: (8) merge two known; one immediate left, one far right
1121 | /
1121 | /
1122 o | changeset: 7:b632bb1b1224
1122 o | changeset: 7:b632bb1b1224
1123 |\ \ parent: 2:3d9a33b8d1e1
1123 |\ \ parent: 2:3d9a33b8d1e1
1124 | ~ | parent: 5:4409d547b708
1124 | ~ | parent: 5:4409d547b708
1125 | | user: test
1125 | | user: test
1126 | | date: Thu Jan 01 00:00:07 1970 +0000
1126 | | date: Thu Jan 01 00:00:07 1970 +0000
1127 | | summary: (7) expand
1127 | | summary: (7) expand
1128 | /
1128 | /
1129 | o changeset: 6:b105a072e251
1129 | o changeset: 6:b105a072e251
1130 |/| parent: 2:3d9a33b8d1e1
1130 |/| parent: 2:3d9a33b8d1e1
1131 | ~ parent: 5:4409d547b708
1131 | ~ parent: 5:4409d547b708
1132 | user: test
1132 | user: test
1133 | date: Thu Jan 01 00:00:06 1970 +0000
1133 | date: Thu Jan 01 00:00:06 1970 +0000
1134 | summary: (6) merge two known; one immediate left, one far left
1134 | summary: (6) merge two known; one immediate left, one far left
1135 |
1135 |
1136 o changeset: 5:4409d547b708
1136 o changeset: 5:4409d547b708
1137 |\ parent: 3:27eef8ed80b4
1137 |\ parent: 3:27eef8ed80b4
1138 | ~ parent: 4:26a8bac39d9f
1138 | ~ parent: 4:26a8bac39d9f
1139 | user: test
1139 | user: test
1140 | date: Thu Jan 01 00:00:05 1970 +0000
1140 | date: Thu Jan 01 00:00:05 1970 +0000
1141 | summary: (5) expand
1141 | summary: (5) expand
1142 |
1142 |
1143 o changeset: 4:26a8bac39d9f
1143 o changeset: 4:26a8bac39d9f
1144 |\ parent: 1:6db2ef61d156
1144 |\ parent: 1:6db2ef61d156
1145 ~ ~ parent: 3:27eef8ed80b4
1145 ~ ~ parent: 3:27eef8ed80b4
1146 user: test
1146 user: test
1147 date: Thu Jan 01 00:00:04 1970 +0000
1147 date: Thu Jan 01 00:00:04 1970 +0000
1148 summary: (4) merge two known; one immediate left, one immediate right
1148 summary: (4) merge two known; one immediate left, one immediate right
1149
1149
1150
1150
1151
1151
1152 Empty revision range - display nothing:
1152 Empty revision range - display nothing:
1153 $ hg log -G -r 1..0
1153 $ hg log -G -r 1..0
1154
1154
1155 $ cd ..
1155 $ cd ..
1156
1156
1157 #if no-outer-repo
1157 #if no-outer-repo
1158
1158
1159 From outer space:
1159 From outer space:
1160 $ hg log -G -l1 repo
1160 $ hg log -G -l1 repo
1161 @ changeset: 34:fea3ac5810e0
1161 @ changeset: 34:fea3ac5810e0
1162 | tag: tip
1162 | tag: tip
1163 ~ parent: 32:d06dffa21a31
1163 ~ parent: 32:d06dffa21a31
1164 user: test
1164 user: test
1165 date: Thu Jan 01 00:00:34 1970 +0000
1165 date: Thu Jan 01 00:00:34 1970 +0000
1166 summary: (34) head
1166 summary: (34) head
1167
1167
1168 $ hg log -G -l1 repo/a
1168 $ hg log -G -l1 repo/a
1169 @ changeset: 34:fea3ac5810e0
1169 @ changeset: 34:fea3ac5810e0
1170 | tag: tip
1170 | tag: tip
1171 ~ parent: 32:d06dffa21a31
1171 ~ parent: 32:d06dffa21a31
1172 user: test
1172 user: test
1173 date: Thu Jan 01 00:00:34 1970 +0000
1173 date: Thu Jan 01 00:00:34 1970 +0000
1174 summary: (34) head
1174 summary: (34) head
1175
1175
1176 $ hg log -G -l1 repo/missing
1176 $ hg log -G -l1 repo/missing
1177
1177
1178 #endif
1178 #endif
1179
1179
1180 File log with revs != cset revs:
1180 File log with revs != cset revs:
1181 $ hg init flog
1181 $ hg init flog
1182 $ cd flog
1182 $ cd flog
1183 $ echo one >one
1183 $ echo one >one
1184 $ hg add one
1184 $ hg add one
1185 $ hg commit -mone
1185 $ hg commit -mone
1186 $ echo two >two
1186 $ echo two >two
1187 $ hg add two
1187 $ hg add two
1188 $ hg commit -mtwo
1188 $ hg commit -mtwo
1189 $ echo more >two
1189 $ echo more >two
1190 $ hg commit -mmore
1190 $ hg commit -mmore
1191 $ hg log -G two
1191 $ hg log -G two
1192 @ changeset: 2:12c28321755b
1192 @ changeset: 2:12c28321755b
1193 | tag: tip
1193 | tag: tip
1194 | user: test
1194 | user: test
1195 | date: Thu Jan 01 00:00:00 1970 +0000
1195 | date: Thu Jan 01 00:00:00 1970 +0000
1196 | summary: more
1196 | summary: more
1197 |
1197 |
1198 o changeset: 1:5ac72c0599bf
1198 o changeset: 1:5ac72c0599bf
1199 | user: test
1199 | user: test
1200 ~ date: Thu Jan 01 00:00:00 1970 +0000
1200 ~ date: Thu Jan 01 00:00:00 1970 +0000
1201 summary: two
1201 summary: two
1202
1202
1203
1203
1204 Issue1896: File log with explicit style
1204 Issue1896: File log with explicit style
1205 $ hg log -G --style=default one
1205 $ hg log -G --style=default one
1206 o changeset: 0:3d578b4a1f53
1206 o changeset: 0:3d578b4a1f53
1207 user: test
1207 user: test
1208 date: Thu Jan 01 00:00:00 1970 +0000
1208 date: Thu Jan 01 00:00:00 1970 +0000
1209 summary: one
1209 summary: one
1210
1210
1211 Issue2395: glog --style header and footer
1211 Issue2395: glog --style header and footer
1212 $ hg log -G --style=xml one
1212 $ hg log -G --style=xml one
1213 <?xml version="1.0"?>
1213 <?xml version="1.0"?>
1214 <log>
1214 <log>
1215 o <logentry revision="0" node="3d578b4a1f537d5fcf7301bfa9c0b97adfaa6fb1">
1215 o <logentry revision="0" node="3d578b4a1f537d5fcf7301bfa9c0b97adfaa6fb1">
1216 <author email="test">test</author>
1216 <author email="test">test</author>
1217 <date>1970-01-01T00:00:00+00:00</date>
1217 <date>1970-01-01T00:00:00+00:00</date>
1218 <msg xml:space="preserve">one</msg>
1218 <msg xml:space="preserve">one</msg>
1219 </logentry>
1219 </logentry>
1220 </log>
1220 </log>
1221
1221
1222 $ cd ..
1222 $ cd ..
1223
1223
1224 Incoming and outgoing:
1224 Incoming and outgoing:
1225
1225
1226 $ hg clone -U -r31 repo repo2
1226 $ hg clone -U -r31 repo repo2
1227 adding changesets
1227 adding changesets
1228 adding manifests
1228 adding manifests
1229 adding file changes
1229 adding file changes
1230 added 31 changesets with 31 changes to 1 files
1230 added 31 changesets with 31 changes to 1 files
1231 new changesets e6eb3150255d:621d83e11f67
1231 new changesets e6eb3150255d:621d83e11f67
1232 $ cd repo2
1232 $ cd repo2
1233
1233
1234 $ hg incoming --graph ../repo
1234 $ hg incoming --graph ../repo
1235 comparing with ../repo
1235 comparing with ../repo
1236 searching for changes
1236 searching for changes
1237 o changeset: 34:fea3ac5810e0
1237 o changeset: 34:fea3ac5810e0
1238 | tag: tip
1238 | tag: tip
1239 | parent: 32:d06dffa21a31
1239 | parent: 32:d06dffa21a31
1240 | user: test
1240 | user: test
1241 | date: Thu Jan 01 00:00:34 1970 +0000
1241 | date: Thu Jan 01 00:00:34 1970 +0000
1242 | summary: (34) head
1242 | summary: (34) head
1243 |
1243 |
1244 | o changeset: 33:68608f5145f9
1244 | o changeset: 33:68608f5145f9
1245 | parent: 18:1aa84d96232a
1245 | parent: 18:1aa84d96232a
1246 | user: test
1246 | user: test
1247 | date: Thu Jan 01 00:00:33 1970 +0000
1247 | date: Thu Jan 01 00:00:33 1970 +0000
1248 | summary: (33) head
1248 | summary: (33) head
1249 |
1249 |
1250 o changeset: 32:d06dffa21a31
1250 o changeset: 32:d06dffa21a31
1251 | parent: 27:886ed638191b
1251 | parent: 27:886ed638191b
1252 | parent: 31:621d83e11f67
1252 | parent: 31:621d83e11f67
1253 | user: test
1253 | user: test
1254 | date: Thu Jan 01 00:00:32 1970 +0000
1254 | date: Thu Jan 01 00:00:32 1970 +0000
1255 | summary: (32) expand
1255 | summary: (32) expand
1256 |
1256 |
1257 o changeset: 27:886ed638191b
1257 o changeset: 27:886ed638191b
1258 parent: 21:d42a756af44d
1258 parent: 21:d42a756af44d
1259 user: test
1259 user: test
1260 date: Thu Jan 01 00:00:27 1970 +0000
1260 date: Thu Jan 01 00:00:27 1970 +0000
1261 summary: (27) collapse
1261 summary: (27) collapse
1262
1262
1263 $ cd ..
1263 $ cd ..
1264
1264
1265 $ hg -R repo outgoing --graph repo2
1265 $ hg -R repo outgoing --graph repo2
1266 comparing with repo2
1266 comparing with repo2
1267 searching for changes
1267 searching for changes
1268 @ changeset: 34:fea3ac5810e0
1268 @ changeset: 34:fea3ac5810e0
1269 | tag: tip
1269 | tag: tip
1270 | parent: 32:d06dffa21a31
1270 | parent: 32:d06dffa21a31
1271 | user: test
1271 | user: test
1272 | date: Thu Jan 01 00:00:34 1970 +0000
1272 | date: Thu Jan 01 00:00:34 1970 +0000
1273 | summary: (34) head
1273 | summary: (34) head
1274 |
1274 |
1275 | o changeset: 33:68608f5145f9
1275 | o changeset: 33:68608f5145f9
1276 | parent: 18:1aa84d96232a
1276 | parent: 18:1aa84d96232a
1277 | user: test
1277 | user: test
1278 | date: Thu Jan 01 00:00:33 1970 +0000
1278 | date: Thu Jan 01 00:00:33 1970 +0000
1279 | summary: (33) head
1279 | summary: (33) head
1280 |
1280 |
1281 o changeset: 32:d06dffa21a31
1281 o changeset: 32:d06dffa21a31
1282 | parent: 27:886ed638191b
1282 | parent: 27:886ed638191b
1283 | parent: 31:621d83e11f67
1283 | parent: 31:621d83e11f67
1284 | user: test
1284 | user: test
1285 | date: Thu Jan 01 00:00:32 1970 +0000
1285 | date: Thu Jan 01 00:00:32 1970 +0000
1286 | summary: (32) expand
1286 | summary: (32) expand
1287 |
1287 |
1288 o changeset: 27:886ed638191b
1288 o changeset: 27:886ed638191b
1289 parent: 21:d42a756af44d
1289 parent: 21:d42a756af44d
1290 user: test
1290 user: test
1291 date: Thu Jan 01 00:00:27 1970 +0000
1291 date: Thu Jan 01 00:00:27 1970 +0000
1292 summary: (27) collapse
1292 summary: (27) collapse
1293
1293
1294
1294
1295 File + limit with revs != cset revs:
1295 File + limit with revs != cset revs:
1296 $ cd repo
1296 $ cd repo
1297 $ touch b
1297 $ touch b
1298 $ hg ci -Aqm0
1298 $ hg ci -Aqm0
1299 $ hg log -G -l2 a
1299 $ hg log -G -l2 a
1300 o changeset: 34:fea3ac5810e0
1300 o changeset: 34:fea3ac5810e0
1301 | parent: 32:d06dffa21a31
1301 | parent: 32:d06dffa21a31
1302 ~ user: test
1302 ~ user: test
1303 date: Thu Jan 01 00:00:34 1970 +0000
1303 date: Thu Jan 01 00:00:34 1970 +0000
1304 summary: (34) head
1304 summary: (34) head
1305
1305
1306 o changeset: 33:68608f5145f9
1306 o changeset: 33:68608f5145f9
1307 | parent: 18:1aa84d96232a
1307 | parent: 18:1aa84d96232a
1308 ~ user: test
1308 ~ user: test
1309 date: Thu Jan 01 00:00:33 1970 +0000
1309 date: Thu Jan 01 00:00:33 1970 +0000
1310 summary: (33) head
1310 summary: (33) head
1311
1311
1312
1312
1313 File + limit + -ra:b, (b - a) < limit:
1313 File + limit + -ra:b, (b - a) < limit:
1314 $ hg log -G -l3000 -r32:tip a
1314 $ hg log -G -l3000 -r32:tip a
1315 o changeset: 34:fea3ac5810e0
1315 o changeset: 34:fea3ac5810e0
1316 | parent: 32:d06dffa21a31
1316 | parent: 32:d06dffa21a31
1317 | user: test
1317 | user: test
1318 | date: Thu Jan 01 00:00:34 1970 +0000
1318 | date: Thu Jan 01 00:00:34 1970 +0000
1319 | summary: (34) head
1319 | summary: (34) head
1320 |
1320 |
1321 | o changeset: 33:68608f5145f9
1321 | o changeset: 33:68608f5145f9
1322 | | parent: 18:1aa84d96232a
1322 | | parent: 18:1aa84d96232a
1323 | ~ user: test
1323 | ~ user: test
1324 | date: Thu Jan 01 00:00:33 1970 +0000
1324 | date: Thu Jan 01 00:00:33 1970 +0000
1325 | summary: (33) head
1325 | summary: (33) head
1326 |
1326 |
1327 o changeset: 32:d06dffa21a31
1327 o changeset: 32:d06dffa21a31
1328 |\ parent: 27:886ed638191b
1328 |\ parent: 27:886ed638191b
1329 ~ ~ parent: 31:621d83e11f67
1329 ~ ~ parent: 31:621d83e11f67
1330 user: test
1330 user: test
1331 date: Thu Jan 01 00:00:32 1970 +0000
1331 date: Thu Jan 01 00:00:32 1970 +0000
1332 summary: (32) expand
1332 summary: (32) expand
1333
1333
1334
1334
1335 Point out a common and an uncommon unshown parent
1335 Point out a common and an uncommon unshown parent
1336
1336
1337 $ hg log -G -r 'rev(8) or rev(9)'
1337 $ hg log -G -r 'rev(8) or rev(9)'
1338 o changeset: 9:7010c0af0a35
1338 o changeset: 9:7010c0af0a35
1339 |\ parent: 7:b632bb1b1224
1339 |\ parent: 7:b632bb1b1224
1340 | ~ parent: 8:7a0b11f71937
1340 | ~ parent: 8:7a0b11f71937
1341 | user: test
1341 | user: test
1342 | date: Thu Jan 01 00:00:09 1970 +0000
1342 | date: Thu Jan 01 00:00:09 1970 +0000
1343 | summary: (9) expand
1343 | summary: (9) expand
1344 |
1344 |
1345 o changeset: 8:7a0b11f71937
1345 o changeset: 8:7a0b11f71937
1346 |\ parent: 0:e6eb3150255d
1346 |\ parent: 0:e6eb3150255d
1347 ~ ~ parent: 7:b632bb1b1224
1347 ~ ~ parent: 7:b632bb1b1224
1348 user: test
1348 user: test
1349 date: Thu Jan 01 00:00:08 1970 +0000
1349 date: Thu Jan 01 00:00:08 1970 +0000
1350 summary: (8) merge two known; one immediate left, one far right
1350 summary: (8) merge two known; one immediate left, one far right
1351
1351
1352
1352
1353 File + limit + -ra:b, b < tip:
1353 File + limit + -ra:b, b < tip:
1354
1354
1355 $ hg log -G -l1 -r32:34 a
1355 $ hg log -G -l1 -r32:34 a
1356 o changeset: 34:fea3ac5810e0
1356 o changeset: 34:fea3ac5810e0
1357 | parent: 32:d06dffa21a31
1357 | parent: 32:d06dffa21a31
1358 ~ user: test
1358 ~ user: test
1359 date: Thu Jan 01 00:00:34 1970 +0000
1359 date: Thu Jan 01 00:00:34 1970 +0000
1360 summary: (34) head
1360 summary: (34) head
1361
1361
1362
1362
1363 file(File) + limit + -ra:b, b < tip:
1363 file(File) + limit + -ra:b, b < tip:
1364
1364
1365 $ hg log -G -l1 -r32:34 -r 'file("a")'
1365 $ hg log -G -l1 -r32:34 -r 'file("a")'
1366 o changeset: 34:fea3ac5810e0
1366 o changeset: 34:fea3ac5810e0
1367 | parent: 32:d06dffa21a31
1367 | parent: 32:d06dffa21a31
1368 ~ user: test
1368 ~ user: test
1369 date: Thu Jan 01 00:00:34 1970 +0000
1369 date: Thu Jan 01 00:00:34 1970 +0000
1370 summary: (34) head
1370 summary: (34) head
1371
1371
1372
1372
1373 limit(file(File) and a::b), b < tip:
1373 limit(file(File) and a::b), b < tip:
1374
1374
1375 $ hg log -G -r 'limit(file("a") and 32::34, 1)'
1375 $ hg log -G -r 'limit(file("a") and 32::34, 1)'
1376 o changeset: 32:d06dffa21a31
1376 o changeset: 32:d06dffa21a31
1377 |\ parent: 27:886ed638191b
1377 |\ parent: 27:886ed638191b
1378 ~ ~ parent: 31:621d83e11f67
1378 ~ ~ parent: 31:621d83e11f67
1379 user: test
1379 user: test
1380 date: Thu Jan 01 00:00:32 1970 +0000
1380 date: Thu Jan 01 00:00:32 1970 +0000
1381 summary: (32) expand
1381 summary: (32) expand
1382
1382
1383
1383
1384 File + limit + -ra:b, b < tip:
1384 File + limit + -ra:b, b < tip:
1385
1385
1386 $ hg log -G -r 'limit(file("a") and 34::32, 1)'
1386 $ hg log -G -r 'limit(file("a") and 34::32, 1)'
1387
1387
1388 File + limit + -ra:b, b < tip, (b - a) < limit:
1388 File + limit + -ra:b, b < tip, (b - a) < limit:
1389
1389
1390 $ hg log -G -l10 -r33:34 a
1390 $ hg log -G -l10 -r33:34 a
1391 o changeset: 34:fea3ac5810e0
1391 o changeset: 34:fea3ac5810e0
1392 | parent: 32:d06dffa21a31
1392 | parent: 32:d06dffa21a31
1393 ~ user: test
1393 ~ user: test
1394 date: Thu Jan 01 00:00:34 1970 +0000
1394 date: Thu Jan 01 00:00:34 1970 +0000
1395 summary: (34) head
1395 summary: (34) head
1396
1396
1397 o changeset: 33:68608f5145f9
1397 o changeset: 33:68608f5145f9
1398 | parent: 18:1aa84d96232a
1398 | parent: 18:1aa84d96232a
1399 ~ user: test
1399 ~ user: test
1400 date: Thu Jan 01 00:00:33 1970 +0000
1400 date: Thu Jan 01 00:00:33 1970 +0000
1401 summary: (33) head
1401 summary: (33) head
1402
1402
1403
1403
1404 Do not crash or produce strange graphs if history is buggy
1404 Do not crash or produce strange graphs if history is buggy
1405
1405
1406 $ hg branch branch
1406 $ hg branch branch
1407 marked working directory as branch branch
1407 marked working directory as branch branch
1408 (branches are permanent and global, did you want a bookmark?)
1408 (branches are permanent and global, did you want a bookmark?)
1409 $ commit 36 "buggy merge: identical parents" 35 35
1409 $ commit 36 "buggy merge: identical parents" 35 35
1410 $ hg log -G -l5
1410 $ hg log -G -l5
1411 @ changeset: 36:08a19a744424
1411 @ changeset: 36:08a19a744424
1412 | branch: branch
1412 | branch: branch
1413 | tag: tip
1413 | tag: tip
1414 | parent: 35:9159c3644c5e
1414 | parent: 35:9159c3644c5e
1415 | parent: 35:9159c3644c5e
1415 | parent: 35:9159c3644c5e
1416 | user: test
1416 | user: test
1417 | date: Thu Jan 01 00:00:36 1970 +0000
1417 | date: Thu Jan 01 00:00:36 1970 +0000
1418 | summary: (36) buggy merge: identical parents
1418 | summary: (36) buggy merge: identical parents
1419 |
1419 |
1420 o changeset: 35:9159c3644c5e
1420 o changeset: 35:9159c3644c5e
1421 | user: test
1421 | user: test
1422 | date: Thu Jan 01 00:00:00 1970 +0000
1422 | date: Thu Jan 01 00:00:00 1970 +0000
1423 | summary: 0
1423 | summary: 0
1424 |
1424 |
1425 o changeset: 34:fea3ac5810e0
1425 o changeset: 34:fea3ac5810e0
1426 | parent: 32:d06dffa21a31
1426 | parent: 32:d06dffa21a31
1427 | user: test
1427 | user: test
1428 | date: Thu Jan 01 00:00:34 1970 +0000
1428 | date: Thu Jan 01 00:00:34 1970 +0000
1429 | summary: (34) head
1429 | summary: (34) head
1430 |
1430 |
1431 | o changeset: 33:68608f5145f9
1431 | o changeset: 33:68608f5145f9
1432 | | parent: 18:1aa84d96232a
1432 | | parent: 18:1aa84d96232a
1433 | ~ user: test
1433 | ~ user: test
1434 | date: Thu Jan 01 00:00:33 1970 +0000
1434 | date: Thu Jan 01 00:00:33 1970 +0000
1435 | summary: (33) head
1435 | summary: (33) head
1436 |
1436 |
1437 o changeset: 32:d06dffa21a31
1437 o changeset: 32:d06dffa21a31
1438 |\ parent: 27:886ed638191b
1438 |\ parent: 27:886ed638191b
1439 ~ ~ parent: 31:621d83e11f67
1439 ~ ~ parent: 31:621d83e11f67
1440 user: test
1440 user: test
1441 date: Thu Jan 01 00:00:32 1970 +0000
1441 date: Thu Jan 01 00:00:32 1970 +0000
1442 summary: (32) expand
1442 summary: (32) expand
1443
1443
1444
1444
1445 Test log -G options
1445 Test log -G options
1446
1446
1447 $ testlog() {
1447 $ testlog() {
1448 > hg log -G --print-revset "$@"
1448 > hg log -G --print-revset "$@"
1449 > hg log --template 'nodetag {rev}\n' "$@" | grep nodetag \
1449 > hg log --template 'nodetag {rev}\n' "$@" | grep nodetag \
1450 > | sed 's/.*nodetag/nodetag/' > log.nodes
1450 > | sed 's/.*nodetag/nodetag/' > log.nodes
1451 > hg log -G --template 'nodetag {rev}\n' "$@" | grep nodetag \
1451 > hg log -G --template 'nodetag {rev}\n' "$@" | grep nodetag \
1452 > | sed 's/.*nodetag/nodetag/' > glog.nodes
1452 > | sed 's/.*nodetag/nodetag/' > glog.nodes
1453 > (cmp log.nodes glog.nodes || diff -u log.nodes glog.nodes) \
1453 > (cmp log.nodes glog.nodes || diff -u log.nodes glog.nodes) \
1454 > | grep '^[-+@ ]' || :
1454 > | grep '^[-+@ ]' || :
1455 > }
1455 > }
1456
1456
1457 glog always reorders nodes which explains the difference with log
1457 glog always reorders nodes which explains the difference with log
1458
1458
1459 $ testlog -r 27 -r 25 -r 21 -r 34 -r 32 -r 31
1459 $ testlog -r 27 -r 25 -r 21 -r 34 -r 32 -r 31
1460 ['27', '25', '21', '34', '32', '31']
1460 ['27', '25', '21', '34', '32', '31']
1461 []
1461 []
1462 <baseset- [21, 25, 27, 31, 32, 34]>
1462 <baseset- [21, 25, 27, 31, 32, 34]>
1463 --- log.nodes * (glob)
1463 --- log.nodes * (glob)
1464 +++ glog.nodes * (glob)
1464 +++ glog.nodes * (glob)
1465 @@ -1,6 +1,6 @@
1465 @@ -1,6 +1,6 @@
1466 -nodetag 27
1466 -nodetag 27
1467 -nodetag 25
1467 -nodetag 25
1468 -nodetag 21
1468 -nodetag 21
1469 nodetag 34
1469 nodetag 34
1470 nodetag 32
1470 nodetag 32
1471 nodetag 31
1471 nodetag 31
1472 +nodetag 27
1472 +nodetag 27
1473 +nodetag 25
1473 +nodetag 25
1474 +nodetag 21
1474 +nodetag 21
1475 $ testlog -u test -u not-a-user
1475 $ testlog -u test -u not-a-user
1476 []
1476 []
1477 (or
1477 (or
1478 (list
1478 (list
1479 (func
1479 (func
1480 (symbol 'user')
1480 (symbol 'user')
1481 (string 'test'))
1481 (string 'test'))
1482 (func
1482 (func
1483 (symbol 'user')
1483 (symbol 'user')
1484 (string 'not-a-user'))))
1484 (string 'not-a-user'))))
1485 <filteredset
1485 <filteredset
1486 <spanset- 0:37>,
1486 <spanset- 0:37>,
1487 <addset
1487 <addset
1488 <filteredset
1488 <filteredset
1489 <fullreposet+ 0:37>,
1489 <fullreposet+ 0:37>,
1490 <user 'test'>>,
1490 <user 'test'>>,
1491 <filteredset
1491 <filteredset
1492 <fullreposet+ 0:37>,
1492 <fullreposet+ 0:37>,
1493 <user 'not-a-user'>>>>
1493 <user 'not-a-user'>>>>
1494 $ testlog -b not-a-branch
1494 $ testlog -b not-a-branch
1495 abort: unknown revision 'not-a-branch'!
1495 abort: unknown revision 'not-a-branch'!
1496 abort: unknown revision 'not-a-branch'!
1496 abort: unknown revision 'not-a-branch'!
1497 abort: unknown revision 'not-a-branch'!
1497 abort: unknown revision 'not-a-branch'!
1498 $ testlog -b 35 -b 36 --only-branch branch
1498 $ testlog -b 35 -b 36 --only-branch branch
1499 []
1499 []
1500 (or
1500 (or
1501 (list
1501 (list
1502 (func
1502 (func
1503 (symbol 'branch')
1503 (symbol 'branch')
1504 (string 'default'))
1504 (string 'default'))
1505 (or
1505 (or
1506 (list
1506 (list
1507 (func
1507 (func
1508 (symbol 'branch')
1508 (symbol 'branch')
1509 (string 'branch'))
1509 (string 'branch'))
1510 (func
1510 (func
1511 (symbol 'branch')
1511 (symbol 'branch')
1512 (string 'branch'))))))
1512 (string 'branch'))))))
1513 <filteredset
1513 <filteredset
1514 <spanset- 0:37>,
1514 <spanset- 0:37>,
1515 <addset
1515 <addset
1516 <filteredset
1516 <filteredset
1517 <fullreposet+ 0:37>,
1517 <fullreposet+ 0:37>,
1518 <branch 'default'>>,
1518 <branch 'default'>>,
1519 <addset
1519 <addset
1520 <filteredset
1520 <filteredset
1521 <fullreposet+ 0:37>,
1521 <fullreposet+ 0:37>,
1522 <branch 'branch'>>,
1522 <branch 'branch'>>,
1523 <filteredset
1523 <filteredset
1524 <fullreposet+ 0:37>,
1524 <fullreposet+ 0:37>,
1525 <branch 'branch'>>>>>
1525 <branch 'branch'>>>>>
1526 $ testlog -k expand -k merge
1526 $ testlog -k expand -k merge
1527 []
1527 []
1528 (or
1528 (or
1529 (list
1529 (list
1530 (func
1530 (func
1531 (symbol 'keyword')
1531 (symbol 'keyword')
1532 (string 'expand'))
1532 (string 'expand'))
1533 (func
1533 (func
1534 (symbol 'keyword')
1534 (symbol 'keyword')
1535 (string 'merge'))))
1535 (string 'merge'))))
1536 <filteredset
1536 <filteredset
1537 <spanset- 0:37>,
1537 <spanset- 0:37>,
1538 <addset
1538 <addset
1539 <filteredset
1539 <filteredset
1540 <fullreposet+ 0:37>,
1540 <fullreposet+ 0:37>,
1541 <keyword 'expand'>>,
1541 <keyword 'expand'>>,
1542 <filteredset
1542 <filteredset
1543 <fullreposet+ 0:37>,
1543 <fullreposet+ 0:37>,
1544 <keyword 'merge'>>>>
1544 <keyword 'merge'>>>>
1545 $ testlog --only-merges
1545 $ testlog --only-merges
1546 []
1546 []
1547 (func
1547 (func
1548 (symbol 'merge')
1548 (symbol 'merge')
1549 None)
1549 None)
1550 <filteredset
1550 <filteredset
1551 <spanset- 0:37>,
1551 <spanset- 0:37>,
1552 <merge>>
1552 <merge>>
1553 $ testlog --no-merges
1553 $ testlog --no-merges
1554 []
1554 []
1555 (not
1555 (not
1556 (func
1556 (func
1557 (symbol 'merge')
1557 (symbol 'merge')
1558 None))
1558 None))
1559 <filteredset
1559 <filteredset
1560 <spanset- 0:37>,
1560 <spanset- 0:37>,
1561 <not
1561 <not
1562 <filteredset
1562 <filteredset
1563 <spanset- 0:37>,
1563 <spanset- 0:37>,
1564 <merge>>>>
1564 <merge>>>>
1565 $ testlog --date '2 0 to 4 0'
1565 $ testlog --date '2 0 to 4 0'
1566 []
1566 []
1567 (func
1567 (func
1568 (symbol 'date')
1568 (symbol 'date')
1569 (string '2 0 to 4 0'))
1569 (string '2 0 to 4 0'))
1570 <filteredset
1570 <filteredset
1571 <spanset- 0:37>,
1571 <spanset- 0:37>,
1572 <date '2 0 to 4 0'>>
1572 <date '2 0 to 4 0'>>
1573 $ hg log -G -d 'brace ) in a date'
1573 $ hg log -G -d 'brace ) in a date'
1574 hg: parse error: invalid date: 'brace ) in a date'
1574 hg: parse error: invalid date: 'brace ) in a date'
1575 [255]
1575 [255]
1576 $ testlog --prune 31 --prune 32
1576 $ testlog --prune 31 --prune 32
1577 []
1577 []
1578 (not
1578 (not
1579 (or
1579 (or
1580 (list
1580 (list
1581 (func
1581 (func
1582 (symbol 'ancestors')
1582 (symbol 'ancestors')
1583 (string '31'))
1583 (string '31'))
1584 (func
1584 (func
1585 (symbol 'ancestors')
1585 (symbol 'ancestors')
1586 (string '32')))))
1586 (string '32')))))
1587 <filteredset
1587 <filteredset
1588 <spanset- 0:37>,
1588 <spanset- 0:37>,
1589 <not
1589 <not
1590 <addset
1590 <addset
1591 <filteredset
1591 <filteredset
1592 <spanset- 0:37>,
1592 <spanset- 0:37>,
1593 <generatorsetdesc+>>,
1593 <generatorsetdesc+>>,
1594 <filteredset
1594 <filteredset
1595 <spanset- 0:37>,
1595 <spanset- 0:37>,
1596 <generatorsetdesc+>>>>>
1596 <generatorsetdesc+>>>>>
1597
1597
1598 Dedicated repo for --follow and paths filtering. The g is crafted to
1598 Dedicated repo for --follow and paths filtering. The g is crafted to
1599 have 2 filelog topological heads in a linear changeset graph.
1599 have 2 filelog topological heads in a linear changeset graph.
1600
1600
1601 $ cd ..
1601 $ cd ..
1602 $ hg init follow
1602 $ hg init follow
1603 $ cd follow
1603 $ cd follow
1604 $ testlog --follow
1604 $ testlog --follow
1605 []
1605 []
1606 []
1606 []
1607 <baseset []>
1607 <baseset []>
1608 $ testlog -rnull
1608 $ testlog -rnull
1609 ['null']
1609 ['null']
1610 []
1610 []
1611 <baseset [-1]>
1611 <baseset [-1]>
1612 $ echo a > a
1612 $ echo a > a
1613 $ echo aa > aa
1613 $ echo aa > aa
1614 $ echo f > f
1614 $ echo f > f
1615 $ hg ci -Am "add a" a aa f
1615 $ hg ci -Am "add a" a aa f
1616 $ hg cp a b
1616 $ hg cp a b
1617 $ hg cp f g
1617 $ hg cp f g
1618 $ hg ci -m "copy a b"
1618 $ hg ci -m "copy a b"
1619 $ mkdir dir
1619 $ mkdir dir
1620 $ hg mv b dir
1620 $ hg mv b dir
1621 $ echo g >> g
1621 $ echo g >> g
1622 $ echo f >> f
1622 $ echo f >> f
1623 $ hg ci -m "mv b dir/b"
1623 $ hg ci -m "mv b dir/b"
1624 $ hg mv a b
1624 $ hg mv a b
1625 $ hg cp -f f g
1625 $ hg cp -f f g
1626 $ echo a > d
1626 $ echo a > d
1627 $ hg add d
1627 $ hg add d
1628 $ hg ci -m "mv a b; add d"
1628 $ hg ci -m "mv a b; add d"
1629 $ hg mv dir/b e
1629 $ hg mv dir/b e
1630 $ hg ci -m "mv dir/b e"
1630 $ hg ci -m "mv dir/b e"
1631 $ hg log -G --template '({rev}) {desc|firstline}\n'
1631 $ hg log -G --template '({rev}) {desc|firstline}\n'
1632 @ (4) mv dir/b e
1632 @ (4) mv dir/b e
1633 |
1633 |
1634 o (3) mv a b; add d
1634 o (3) mv a b; add d
1635 |
1635 |
1636 o (2) mv b dir/b
1636 o (2) mv b dir/b
1637 |
1637 |
1638 o (1) copy a b
1638 o (1) copy a b
1639 |
1639 |
1640 o (0) add a
1640 o (0) add a
1641
1641
1642
1642
1643 $ testlog a
1643 $ testlog a
1644 []
1644 []
1645 (func
1645 (func
1646 (symbol 'filelog')
1646 (symbol 'filelog')
1647 (string 'a'))
1647 (string 'a'))
1648 <filteredset
1648 <filteredset
1649 <spanset- 0:5>, set([0])>
1649 <spanset- 0:5>, set([0])>
1650 $ testlog a b
1650 $ testlog a b
1651 []
1651 []
1652 (or
1652 (or
1653 (list
1653 (list
1654 (func
1654 (func
1655 (symbol 'filelog')
1655 (symbol 'filelog')
1656 (string 'a'))
1656 (string 'a'))
1657 (func
1657 (func
1658 (symbol 'filelog')
1658 (symbol 'filelog')
1659 (string 'b'))))
1659 (string 'b'))))
1660 <filteredset
1660 <filteredset
1661 <spanset- 0:5>,
1661 <spanset- 0:5>,
1662 <addset
1662 <addset
1663 <baseset+ [0]>,
1663 <baseset+ [0]>,
1664 <baseset+ [1]>>>
1664 <baseset+ [1]>>>
1665
1665
1666 Test falling back to slow path for non-existing files
1666 Test falling back to slow path for non-existing files
1667
1667
1668 $ testlog a c
1668 $ testlog a c
1669 []
1669 []
1670 (func
1670 (func
1671 (symbol '_matchfiles')
1671 (symbol '_matchfiles')
1672 (list
1672 (list
1673 (string 'r:')
1673 (string 'r:')
1674 (string 'd:relpath')
1674 (string 'd:relpath')
1675 (string 'p:a')
1675 (string 'p:a')
1676 (string 'p:c')))
1676 (string 'p:c')))
1677 <filteredset
1677 <filteredset
1678 <spanset- 0:5>,
1678 <spanset- 0:5>,
1679 <matchfiles patterns=['a', 'c'], include=[] exclude=[], default='relpath', rev=2147483647>>
1679 <matchfiles patterns=['a', 'c'], include=[] exclude=[], default='relpath', rev=2147483647>>
1680
1680
1681 Test multiple --include/--exclude/paths
1681 Test multiple --include/--exclude/paths
1682
1682
1683 $ testlog --include a --include e --exclude b --exclude e a e
1683 $ testlog --include a --include e --exclude b --exclude e a e
1684 []
1684 []
1685 (func
1685 (func
1686 (symbol '_matchfiles')
1686 (symbol '_matchfiles')
1687 (list
1687 (list
1688 (string 'r:')
1688 (string 'r:')
1689 (string 'd:relpath')
1689 (string 'd:relpath')
1690 (string 'p:a')
1690 (string 'p:a')
1691 (string 'p:e')
1691 (string 'p:e')
1692 (string 'i:a')
1692 (string 'i:a')
1693 (string 'i:e')
1693 (string 'i:e')
1694 (string 'x:b')
1694 (string 'x:b')
1695 (string 'x:e')))
1695 (string 'x:e')))
1696 <filteredset
1696 <filteredset
1697 <spanset- 0:5>,
1697 <spanset- 0:5>,
1698 <matchfiles patterns=['a', 'e'], include=['a', 'e'] exclude=['b', 'e'], default='relpath', rev=2147483647>>
1698 <matchfiles patterns=['a', 'e'], include=['a', 'e'] exclude=['b', 'e'], default='relpath', rev=2147483647>>
1699
1699
1700 Test glob expansion of pats
1700 Test glob expansion of pats
1701
1701
1702 $ expandglobs=`$PYTHON -c "import mercurial.util; \
1702 $ expandglobs=`$PYTHON -c "import mercurial.util; \
1703 > print(mercurial.util.expandglobs and 'true' or 'false')"`
1703 > print(mercurial.util.expandglobs and 'true' or 'false')"`
1704 $ if [ $expandglobs = "true" ]; then
1704 $ if [ $expandglobs = "true" ]; then
1705 > testlog 'a*';
1705 > testlog 'a*';
1706 > else
1706 > else
1707 > testlog a*;
1707 > testlog a*;
1708 > fi;
1708 > fi;
1709 []
1709 []
1710 (func
1710 (func
1711 (symbol 'filelog')
1711 (symbol 'filelog')
1712 (string 'aa'))
1712 (string 'aa'))
1713 <filteredset
1713 <filteredset
1714 <spanset- 0:5>, set([0])>
1714 <spanset- 0:5>, set([0])>
1715
1715
1716 Test --follow on a non-existent directory
1716 Test --follow on a non-existent directory
1717
1717
1718 $ testlog -f dir
1718 $ testlog -f dir
1719 abort: cannot follow file not in parent revision: "dir"
1719 abort: cannot follow file not in parent revision: "dir"
1720 abort: cannot follow file not in parent revision: "dir"
1720 abort: cannot follow file not in parent revision: "dir"
1721 abort: cannot follow file not in parent revision: "dir"
1721 abort: cannot follow file not in parent revision: "dir"
1722
1722
1723 Test --follow on a directory
1723 Test --follow on a directory
1724
1724
1725 $ hg up -q '.^'
1725 $ hg up -q '.^'
1726 $ testlog -f dir
1726 $ testlog -f dir
1727 []
1727 []
1728 (func
1728 (func
1729 (symbol '_matchfiles')
1729 (symbol '_matchfiles')
1730 (list
1730 (list
1731 (string 'r:')
1731 (string 'r:')
1732 (string 'd:relpath')
1732 (string 'd:relpath')
1733 (string 'p:dir')))
1733 (string 'p:dir')))
1734 <filteredset
1734 <filteredset
1735 <generatorsetdesc->,
1735 <generatorsetdesc->,
1736 <matchfiles patterns=['dir'], include=[] exclude=[], default='relpath', rev=2147483647>>
1736 <matchfiles patterns=['dir'], include=[] exclude=[], default='relpath', rev=2147483647>>
1737 $ hg up -q tip
1737 $ hg up -q tip
1738
1738
1739 Test --follow on file not in parent revision
1739 Test --follow on file not in parent revision
1740
1740
1741 $ testlog -f a
1741 $ testlog -f a
1742 abort: cannot follow file not in parent revision: "a"
1742 abort: cannot follow file not in parent revision: "a"
1743 abort: cannot follow file not in parent revision: "a"
1743 abort: cannot follow file not in parent revision: "a"
1744 abort: cannot follow file not in parent revision: "a"
1744 abort: cannot follow file not in parent revision: "a"
1745
1745
1746 Test --follow and patterns
1746 Test --follow and patterns
1747
1747
1748 $ testlog -f 'glob:*'
1748 $ testlog -f 'glob:*'
1749 []
1749 []
1750 (func
1750 (func
1751 (symbol '_matchfiles')
1751 (symbol '_matchfiles')
1752 (list
1752 (list
1753 (string 'r:')
1753 (string 'r:')
1754 (string 'd:relpath')
1754 (string 'd:relpath')
1755 (string 'p:glob:*')))
1755 (string 'p:glob:*')))
1756 <filteredset
1756 <filteredset
1757 <generatorsetdesc->,
1757 <generatorsetdesc->,
1758 <matchfiles patterns=['glob:*'], include=[] exclude=[], default='relpath', rev=2147483647>>
1758 <matchfiles patterns=['glob:*'], include=[] exclude=[], default='relpath', rev=2147483647>>
1759
1759
1760 Test --follow on a single rename
1760 Test --follow on a single rename
1761
1761
1762 $ hg up -q 2
1762 $ hg up -q 2
1763 $ testlog -f a
1763 $ testlog -f a
1764 []
1764 []
1765 []
1765 []
1766 <generatorsetdesc->
1766 <generatorsetdesc->
1767
1767
1768 Test --follow and multiple renames
1768 Test --follow and multiple renames
1769
1769
1770 $ hg up -q tip
1770 $ hg up -q tip
1771 $ testlog -f e
1771 $ testlog -f e
1772 []
1772 []
1773 []
1773 []
1774 <generatorsetdesc->
1774 <generatorsetdesc->
1775
1775
1776 Test --follow and multiple filelog heads
1776 Test --follow and multiple filelog heads
1777
1777
1778 $ hg up -q 2
1778 $ hg up -q 2
1779 $ testlog -f g
1779 $ testlog -f g
1780 []
1780 []
1781 []
1781 []
1782 <generatorsetdesc->
1782 <generatorsetdesc->
1783 $ cat log.nodes
1783 $ cat log.nodes
1784 nodetag 2
1784 nodetag 2
1785 nodetag 1
1785 nodetag 1
1786 nodetag 0
1786 nodetag 0
1787 $ hg up -q tip
1787 $ hg up -q tip
1788 $ testlog -f g
1788 $ testlog -f g
1789 []
1789 []
1790 []
1790 []
1791 <generatorsetdesc->
1791 <generatorsetdesc->
1792 $ cat log.nodes
1792 $ cat log.nodes
1793 nodetag 3
1793 nodetag 3
1794 nodetag 2
1794 nodetag 2
1795 nodetag 0
1795 nodetag 0
1796
1796
1797 Test --follow and multiple files
1797 Test --follow and multiple files
1798
1798
1799 $ testlog -f g e
1799 $ testlog -f g e
1800 []
1800 []
1801 []
1801 []
1802 <generatorsetdesc->
1802 <generatorsetdesc->
1803 $ cat log.nodes
1803 $ cat log.nodes
1804 nodetag 4
1804 nodetag 4
1805 nodetag 3
1805 nodetag 3
1806 nodetag 2
1806 nodetag 2
1807 nodetag 1
1807 nodetag 1
1808 nodetag 0
1808 nodetag 0
1809
1809
1810 Test --follow null parent
1810 Test --follow null parent
1811
1811
1812 $ hg up -q null
1812 $ hg up -q null
1813 $ testlog -f
1813 $ testlog -f
1814 []
1814 []
1815 []
1815 []
1816 <baseset []>
1816 <baseset []>
1817
1817
1818 Test --follow-first
1818 Test --follow-first
1819
1819
1820 $ hg up -q 3
1820 $ hg up -q 3
1821 $ echo ee > e
1821 $ echo ee > e
1822 $ hg ci -Am "add another e" e
1822 $ hg ci -Am "add another e" e
1823 created new head
1823 created new head
1824 $ hg merge --tool internal:other 4
1824 $ hg merge --tool internal:other 4
1825 0 files updated, 1 files merged, 1 files removed, 0 files unresolved
1825 0 files updated, 1 files merged, 1 files removed, 0 files unresolved
1826 (branch merge, don't forget to commit)
1826 (branch merge, don't forget to commit)
1827 $ echo merge > e
1827 $ echo merge > e
1828 $ hg ci -m "merge 5 and 4"
1828 $ hg ci -m "merge 5 and 4"
1829 $ testlog --follow-first
1829 $ testlog --follow-first
1830 []
1830 []
1831 []
1831 []
1832 <generatorsetdesc->
1832 <generatorsetdesc->
1833
1833
1834 Cannot compare with log --follow-first FILE as it never worked
1834 Cannot compare with log --follow-first FILE as it never worked
1835
1835
1836 $ hg log -G --print-revset --follow-first e
1836 $ hg log -G --print-revset --follow-first e
1837 []
1837 []
1838 []
1838 []
1839 <generatorsetdesc->
1839 <generatorsetdesc->
1840 $ hg log -G --follow-first e --template '{rev} {desc|firstline}\n'
1840 $ hg log -G --follow-first e --template '{rev} {desc|firstline}\n'
1841 @ 6 merge 5 and 4
1841 @ 6 merge 5 and 4
1842 |\
1842 |\
1843 | ~
1843 | ~
1844 o 5 add another e
1844 o 5 add another e
1845 |
1845 |
1846 ~
1846 ~
1847
1847
1848 Test --copies
1848 Test --copies
1849
1849
1850 $ hg log -G --copies --template "{rev} {desc|firstline} \
1850 $ hg log -G --copies --template "{rev} {desc|firstline} \
1851 > copies: {file_copies_switch}\n"
1851 > copies: {file_copies_switch}\n"
1852 @ 6 merge 5 and 4 copies:
1852 @ 6 merge 5 and 4 copies:
1853 |\
1853 |\
1854 | o 5 add another e copies:
1854 | o 5 add another e copies:
1855 | |
1855 | |
1856 o | 4 mv dir/b e copies: e (dir/b)
1856 o | 4 mv dir/b e copies: e (dir/b)
1857 |/
1857 |/
1858 o 3 mv a b; add d copies: b (a)g (f)
1858 o 3 mv a b; add d copies: b (a)g (f)
1859 |
1859 |
1860 o 2 mv b dir/b copies: dir/b (b)
1860 o 2 mv b dir/b copies: dir/b (b)
1861 |
1861 |
1862 o 1 copy a b copies: b (a)g (f)
1862 o 1 copy a b copies: b (a)g (f)
1863 |
1863 |
1864 o 0 add a copies:
1864 o 0 add a copies:
1865
1865
1866 Test "set:..." and parent revision
1866 Test "set:..." and parent revision
1867
1867
1868 $ hg up -q 4
1868 $ hg up -q 4
1869 $ testlog "set:copied()"
1869 $ testlog "set:copied()"
1870 []
1870 []
1871 (func
1871 (func
1872 (symbol '_matchfiles')
1872 (symbol '_matchfiles')
1873 (list
1873 (list
1874 (string 'r:')
1874 (string 'r:')
1875 (string 'd:relpath')
1875 (string 'd:relpath')
1876 (string 'p:set:copied()')))
1876 (string 'p:set:copied()')))
1877 <filteredset
1877 <filteredset
1878 <spanset- 0:7>,
1878 <spanset- 0:7>,
1879 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='relpath', rev=2147483647>>
1879 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='relpath', rev=2147483647>>
1880 $ testlog --include "set:copied()"
1880 $ testlog --include "set:copied()"
1881 []
1881 []
1882 (func
1882 (func
1883 (symbol '_matchfiles')
1883 (symbol '_matchfiles')
1884 (list
1884 (list
1885 (string 'r:')
1885 (string 'r:')
1886 (string 'd:relpath')
1886 (string 'd:relpath')
1887 (string 'i:set:copied()')))
1887 (string 'i:set:copied()')))
1888 <filteredset
1888 <filteredset
1889 <spanset- 0:7>,
1889 <spanset- 0:7>,
1890 <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>>
1890 <matchfiles patterns=[], include=['set:copied()'] exclude=[], default='relpath', rev=2147483647>>
1891 $ testlog -r "sort(file('set:copied()'), -rev)"
1891 $ testlog -r "sort(file('set:copied()'), -rev)"
1892 ["sort(file('set:copied()'), -rev)"]
1892 ["sort(file('set:copied()'), -rev)"]
1893 []
1893 []
1894 <filteredset
1894 <filteredset
1895 <fullreposet- 0:7>,
1895 <fullreposet- 0:7>,
1896 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='glob', rev=None>>
1896 <matchfiles patterns=['set:copied()'], include=[] exclude=[], default='glob', rev=None>>
1897
1897
1898 Test --removed
1898 Test --removed
1899
1899
1900 $ testlog --removed
1900 $ testlog --removed
1901 []
1901 []
1902 []
1902 []
1903 <spanset- 0:7>
1903 <spanset- 0:7>
1904 $ testlog --removed a
1904 $ testlog --removed a
1905 []
1905 []
1906 (func
1906 (func
1907 (symbol '_matchfiles')
1907 (symbol '_matchfiles')
1908 (list
1908 (list
1909 (string 'r:')
1909 (string 'r:')
1910 (string 'd:relpath')
1910 (string 'd:relpath')
1911 (string 'p:a')))
1911 (string 'p:a')))
1912 <filteredset
1912 <filteredset
1913 <spanset- 0:7>,
1913 <spanset- 0:7>,
1914 <matchfiles patterns=['a'], include=[] exclude=[], default='relpath', rev=2147483647>>
1914 <matchfiles patterns=['a'], include=[] exclude=[], default='relpath', rev=2147483647>>
1915 $ testlog --removed --follow a
1915 $ testlog --removed --follow a
1916 []
1916 []
1917 (func
1917 (func
1918 (symbol '_matchfiles')
1918 (symbol '_matchfiles')
1919 (list
1919 (list
1920 (string 'r:')
1920 (string 'r:')
1921 (string 'd:relpath')
1921 (string 'd:relpath')
1922 (string 'p:a')))
1922 (string 'p:a')))
1923 <filteredset
1923 <filteredset
1924 <generatorsetdesc->,
1924 <generatorsetdesc->,
1925 <matchfiles patterns=['a'], include=[] exclude=[], default='relpath', rev=2147483647>>
1925 <matchfiles patterns=['a'], include=[] exclude=[], default='relpath', rev=2147483647>>
1926
1926
1927 Test --patch and --stat with --follow and --follow-first
1927 Test --patch and --stat with --follow and --follow-first
1928
1928
1929 $ hg up -q 3
1929 $ hg up -q 3
1930 $ hg log -G --git --patch b
1930 $ hg log -G --git --patch b
1931 o changeset: 1:216d4c92cf98
1931 o changeset: 1:216d4c92cf98
1932 | user: test
1932 | user: test
1933 ~ date: Thu Jan 01 00:00:00 1970 +0000
1933 ~ date: Thu Jan 01 00:00:00 1970 +0000
1934 summary: copy a b
1934 summary: copy a b
1935
1935
1936 diff --git a/a b/b
1936 diff --git a/a b/b
1937 copy from a
1937 copy from a
1938 copy to b
1938 copy to b
1939
1939
1940
1940
1941 $ hg log -G --git --stat b
1941 $ hg log -G --git --stat b
1942 o changeset: 1:216d4c92cf98
1942 o changeset: 1:216d4c92cf98
1943 | user: test
1943 | user: test
1944 ~ date: Thu Jan 01 00:00:00 1970 +0000
1944 ~ date: Thu Jan 01 00:00:00 1970 +0000
1945 summary: copy a b
1945 summary: copy a b
1946
1946
1947 b | 0
1947 b | 0
1948 1 files changed, 0 insertions(+), 0 deletions(-)
1948 1 files changed, 0 insertions(+), 0 deletions(-)
1949
1949
1950
1950
1951 $ hg log -G --git --patch --follow b
1951 $ hg log -G --git --patch --follow b
1952 o changeset: 1:216d4c92cf98
1952 o changeset: 1:216d4c92cf98
1953 | user: test
1953 | user: test
1954 | date: Thu Jan 01 00:00:00 1970 +0000
1954 | date: Thu Jan 01 00:00:00 1970 +0000
1955 | summary: copy a b
1955 | summary: copy a b
1956 |
1956 |
1957 | diff --git a/a b/b
1957 | diff --git a/a b/b
1958 | copy from a
1958 | copy from a
1959 | copy to b
1959 | copy to b
1960 |
1960 |
1961 o changeset: 0:f8035bb17114
1961 o changeset: 0:f8035bb17114
1962 user: test
1962 user: test
1963 date: Thu Jan 01 00:00:00 1970 +0000
1963 date: Thu Jan 01 00:00:00 1970 +0000
1964 summary: add a
1964 summary: add a
1965
1965
1966 diff --git a/a b/a
1966 diff --git a/a b/a
1967 new file mode 100644
1967 new file mode 100644
1968 --- /dev/null
1968 --- /dev/null
1969 +++ b/a
1969 +++ b/a
1970 @@ -0,0 +1,1 @@
1970 @@ -0,0 +1,1 @@
1971 +a
1971 +a
1972
1972
1973
1973
1974 $ hg log -G --git --stat --follow b
1974 $ hg log -G --git --stat --follow b
1975 o changeset: 1:216d4c92cf98
1975 o changeset: 1:216d4c92cf98
1976 | user: test
1976 | user: test
1977 | date: Thu Jan 01 00:00:00 1970 +0000
1977 | date: Thu Jan 01 00:00:00 1970 +0000
1978 | summary: copy a b
1978 | summary: copy a b
1979 |
1979 |
1980 | b | 0
1980 | b | 0
1981 | 1 files changed, 0 insertions(+), 0 deletions(-)
1981 | 1 files changed, 0 insertions(+), 0 deletions(-)
1982 |
1982 |
1983 o changeset: 0:f8035bb17114
1983 o changeset: 0:f8035bb17114
1984 user: test
1984 user: test
1985 date: Thu Jan 01 00:00:00 1970 +0000
1985 date: Thu Jan 01 00:00:00 1970 +0000
1986 summary: add a
1986 summary: add a
1987
1987
1988 a | 1 +
1988 a | 1 +
1989 1 files changed, 1 insertions(+), 0 deletions(-)
1989 1 files changed, 1 insertions(+), 0 deletions(-)
1990
1990
1991
1991
1992 $ hg up -q 6
1992 $ hg up -q 6
1993 $ hg log -G --git --patch --follow-first e
1993 $ hg log -G --git --patch --follow-first e
1994 @ changeset: 6:fc281d8ff18d
1994 @ changeset: 6:fc281d8ff18d
1995 |\ tag: tip
1995 |\ tag: tip
1996 | ~ parent: 5:99b31f1c2782
1996 | ~ parent: 5:99b31f1c2782
1997 | parent: 4:17d952250a9d
1997 | parent: 4:17d952250a9d
1998 | user: test
1998 | user: test
1999 | date: Thu Jan 01 00:00:00 1970 +0000
1999 | date: Thu Jan 01 00:00:00 1970 +0000
2000 | summary: merge 5 and 4
2000 | summary: merge 5 and 4
2001 |
2001 |
2002 | diff --git a/e b/e
2002 | diff --git a/e b/e
2003 | --- a/e
2003 | --- a/e
2004 | +++ b/e
2004 | +++ b/e
2005 | @@ -1,1 +1,1 @@
2005 | @@ -1,1 +1,1 @@
2006 | -ee
2006 | -ee
2007 | +merge
2007 | +merge
2008 |
2008 |
2009 o changeset: 5:99b31f1c2782
2009 o changeset: 5:99b31f1c2782
2010 | parent: 3:5918b8d165d1
2010 | parent: 3:5918b8d165d1
2011 ~ user: test
2011 ~ user: test
2012 date: Thu Jan 01 00:00:00 1970 +0000
2012 date: Thu Jan 01 00:00:00 1970 +0000
2013 summary: add another e
2013 summary: add another e
2014
2014
2015 diff --git a/e b/e
2015 diff --git a/e b/e
2016 new file mode 100644
2016 new file mode 100644
2017 --- /dev/null
2017 --- /dev/null
2018 +++ b/e
2018 +++ b/e
2019 @@ -0,0 +1,1 @@
2019 @@ -0,0 +1,1 @@
2020 +ee
2020 +ee
2021
2021
2022
2022
2023 Test old-style --rev
2023 Test old-style --rev
2024
2024
2025 $ hg tag 'foo-bar'
2025 $ hg tag 'foo-bar'
2026 $ testlog -r 'foo-bar'
2026 $ testlog -r 'foo-bar'
2027 ['foo-bar']
2027 ['foo-bar']
2028 []
2028 []
2029 <baseset [6]>
2029 <baseset [6]>
2030
2030
2031 Test --follow and forward --rev
2031 Test --follow and forward --rev
2032
2032
2033 $ hg up -q 6
2033 $ hg up -q 6
2034 $ echo g > g
2034 $ echo g > g
2035 $ hg ci -Am 'add g' g
2035 $ hg ci -Am 'add g' g
2036 created new head
2036 created new head
2037 $ hg up -q 2
2037 $ hg up -q 2
2038 $ hg log -G --template "{rev} {desc|firstline}\n"
2038 $ hg log -G --template "{rev} {desc|firstline}\n"
2039 o 8 add g
2039 o 8 add g
2040 |
2040 |
2041 | o 7 Added tag foo-bar for changeset fc281d8ff18d
2041 | o 7 Added tag foo-bar for changeset fc281d8ff18d
2042 |/
2042 |/
2043 o 6 merge 5 and 4
2043 o 6 merge 5 and 4
2044 |\
2044 |\
2045 | o 5 add another e
2045 | o 5 add another e
2046 | |
2046 | |
2047 o | 4 mv dir/b e
2047 o | 4 mv dir/b e
2048 |/
2048 |/
2049 o 3 mv a b; add d
2049 o 3 mv a b; add d
2050 |
2050 |
2051 @ 2 mv b dir/b
2051 @ 2 mv b dir/b
2052 |
2052 |
2053 o 1 copy a b
2053 o 1 copy a b
2054 |
2054 |
2055 o 0 add a
2055 o 0 add a
2056
2056
2057 $ hg archive -r 7 archive
2057 $ hg archive -r 7 archive
2058 $ grep changessincelatesttag archive/.hg_archival.txt
2058 $ grep changessincelatesttag archive/.hg_archival.txt
2059 changessincelatesttag: 1
2059 changessincelatesttag: 1
2060 $ rm -r archive
2060 $ rm -r archive
2061
2061
2062 changessincelatesttag with no prior tag
2062 changessincelatesttag with no prior tag
2063 $ hg archive -r 4 archive
2063 $ hg archive -r 4 archive
2064 $ grep changessincelatesttag archive/.hg_archival.txt
2064 $ grep changessincelatesttag archive/.hg_archival.txt
2065 changessincelatesttag: 5
2065 changessincelatesttag: 5
2066
2066
2067 $ hg export 'all()'
2067 $ hg export 'all()'
2068 # HG changeset patch
2068 # HG changeset patch
2069 # User test
2069 # User test
2070 # Date 0 0
2070 # Date 0 0
2071 # Thu Jan 01 00:00:00 1970 +0000
2071 # Thu Jan 01 00:00:00 1970 +0000
2072 # Node ID f8035bb17114da16215af3436ec5222428ace8ee
2072 # Node ID f8035bb17114da16215af3436ec5222428ace8ee
2073 # Parent 0000000000000000000000000000000000000000
2073 # Parent 0000000000000000000000000000000000000000
2074 add a
2074 add a
2075
2075
2076 diff -r 000000000000 -r f8035bb17114 a
2076 diff -r 000000000000 -r f8035bb17114 a
2077 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2077 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2078 +++ b/a Thu Jan 01 00:00:00 1970 +0000
2078 +++ b/a Thu Jan 01 00:00:00 1970 +0000
2079 @@ -0,0 +1,1 @@
2079 @@ -0,0 +1,1 @@
2080 +a
2080 +a
2081 diff -r 000000000000 -r f8035bb17114 aa
2081 diff -r 000000000000 -r f8035bb17114 aa
2082 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2082 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2083 +++ b/aa Thu Jan 01 00:00:00 1970 +0000
2083 +++ b/aa Thu Jan 01 00:00:00 1970 +0000
2084 @@ -0,0 +1,1 @@
2084 @@ -0,0 +1,1 @@
2085 +aa
2085 +aa
2086 diff -r 000000000000 -r f8035bb17114 f
2086 diff -r 000000000000 -r f8035bb17114 f
2087 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2087 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2088 +++ b/f Thu Jan 01 00:00:00 1970 +0000
2088 +++ b/f Thu Jan 01 00:00:00 1970 +0000
2089 @@ -0,0 +1,1 @@
2089 @@ -0,0 +1,1 @@
2090 +f
2090 +f
2091 # HG changeset patch
2091 # HG changeset patch
2092 # User test
2092 # User test
2093 # Date 0 0
2093 # Date 0 0
2094 # Thu Jan 01 00:00:00 1970 +0000
2094 # Thu Jan 01 00:00:00 1970 +0000
2095 # Node ID 216d4c92cf98ff2b4641d508b76b529f3d424c92
2095 # Node ID 216d4c92cf98ff2b4641d508b76b529f3d424c92
2096 # Parent f8035bb17114da16215af3436ec5222428ace8ee
2096 # Parent f8035bb17114da16215af3436ec5222428ace8ee
2097 copy a b
2097 copy a b
2098
2098
2099 diff -r f8035bb17114 -r 216d4c92cf98 b
2099 diff -r f8035bb17114 -r 216d4c92cf98 b
2100 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2100 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2101 +++ b/b Thu Jan 01 00:00:00 1970 +0000
2101 +++ b/b Thu Jan 01 00:00:00 1970 +0000
2102 @@ -0,0 +1,1 @@
2102 @@ -0,0 +1,1 @@
2103 +a
2103 +a
2104 diff -r f8035bb17114 -r 216d4c92cf98 g
2104 diff -r f8035bb17114 -r 216d4c92cf98 g
2105 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2105 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2106 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2106 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2107 @@ -0,0 +1,1 @@
2107 @@ -0,0 +1,1 @@
2108 +f
2108 +f
2109 # HG changeset patch
2109 # HG changeset patch
2110 # User test
2110 # User test
2111 # Date 0 0
2111 # Date 0 0
2112 # Thu Jan 01 00:00:00 1970 +0000
2112 # Thu Jan 01 00:00:00 1970 +0000
2113 # Node ID bb573313a9e8349099b6ea2b2fb1fc7f424446f3
2113 # Node ID bb573313a9e8349099b6ea2b2fb1fc7f424446f3
2114 # Parent 216d4c92cf98ff2b4641d508b76b529f3d424c92
2114 # Parent 216d4c92cf98ff2b4641d508b76b529f3d424c92
2115 mv b dir/b
2115 mv b dir/b
2116
2116
2117 diff -r 216d4c92cf98 -r bb573313a9e8 b
2117 diff -r 216d4c92cf98 -r bb573313a9e8 b
2118 --- a/b Thu Jan 01 00:00:00 1970 +0000
2118 --- a/b Thu Jan 01 00:00:00 1970 +0000
2119 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2119 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2120 @@ -1,1 +0,0 @@
2120 @@ -1,1 +0,0 @@
2121 -a
2121 -a
2122 diff -r 216d4c92cf98 -r bb573313a9e8 dir/b
2122 diff -r 216d4c92cf98 -r bb573313a9e8 dir/b
2123 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2123 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2124 +++ b/dir/b Thu Jan 01 00:00:00 1970 +0000
2124 +++ b/dir/b Thu Jan 01 00:00:00 1970 +0000
2125 @@ -0,0 +1,1 @@
2125 @@ -0,0 +1,1 @@
2126 +a
2126 +a
2127 diff -r 216d4c92cf98 -r bb573313a9e8 f
2127 diff -r 216d4c92cf98 -r bb573313a9e8 f
2128 --- a/f Thu Jan 01 00:00:00 1970 +0000
2128 --- a/f Thu Jan 01 00:00:00 1970 +0000
2129 +++ b/f Thu Jan 01 00:00:00 1970 +0000
2129 +++ b/f Thu Jan 01 00:00:00 1970 +0000
2130 @@ -1,1 +1,2 @@
2130 @@ -1,1 +1,2 @@
2131 f
2131 f
2132 +f
2132 +f
2133 diff -r 216d4c92cf98 -r bb573313a9e8 g
2133 diff -r 216d4c92cf98 -r bb573313a9e8 g
2134 --- a/g Thu Jan 01 00:00:00 1970 +0000
2134 --- a/g Thu Jan 01 00:00:00 1970 +0000
2135 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2135 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2136 @@ -1,1 +1,2 @@
2136 @@ -1,1 +1,2 @@
2137 f
2137 f
2138 +g
2138 +g
2139 # HG changeset patch
2139 # HG changeset patch
2140 # User test
2140 # User test
2141 # Date 0 0
2141 # Date 0 0
2142 # Thu Jan 01 00:00:00 1970 +0000
2142 # Thu Jan 01 00:00:00 1970 +0000
2143 # Node ID 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2143 # Node ID 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2144 # Parent bb573313a9e8349099b6ea2b2fb1fc7f424446f3
2144 # Parent bb573313a9e8349099b6ea2b2fb1fc7f424446f3
2145 mv a b; add d
2145 mv a b; add d
2146
2146
2147 diff -r bb573313a9e8 -r 5918b8d165d1 a
2147 diff -r bb573313a9e8 -r 5918b8d165d1 a
2148 --- a/a Thu Jan 01 00:00:00 1970 +0000
2148 --- a/a Thu Jan 01 00:00:00 1970 +0000
2149 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2149 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2150 @@ -1,1 +0,0 @@
2150 @@ -1,1 +0,0 @@
2151 -a
2151 -a
2152 diff -r bb573313a9e8 -r 5918b8d165d1 b
2152 diff -r bb573313a9e8 -r 5918b8d165d1 b
2153 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2153 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2154 +++ b/b Thu Jan 01 00:00:00 1970 +0000
2154 +++ b/b Thu Jan 01 00:00:00 1970 +0000
2155 @@ -0,0 +1,1 @@
2155 @@ -0,0 +1,1 @@
2156 +a
2156 +a
2157 diff -r bb573313a9e8 -r 5918b8d165d1 d
2157 diff -r bb573313a9e8 -r 5918b8d165d1 d
2158 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2158 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2159 +++ b/d Thu Jan 01 00:00:00 1970 +0000
2159 +++ b/d Thu Jan 01 00:00:00 1970 +0000
2160 @@ -0,0 +1,1 @@
2160 @@ -0,0 +1,1 @@
2161 +a
2161 +a
2162 diff -r bb573313a9e8 -r 5918b8d165d1 g
2162 diff -r bb573313a9e8 -r 5918b8d165d1 g
2163 --- a/g Thu Jan 01 00:00:00 1970 +0000
2163 --- a/g Thu Jan 01 00:00:00 1970 +0000
2164 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2164 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2165 @@ -1,2 +1,2 @@
2165 @@ -1,2 +1,2 @@
2166 f
2166 f
2167 -g
2167 -g
2168 +f
2168 +f
2169 # HG changeset patch
2169 # HG changeset patch
2170 # User test
2170 # User test
2171 # Date 0 0
2171 # Date 0 0
2172 # Thu Jan 01 00:00:00 1970 +0000
2172 # Thu Jan 01 00:00:00 1970 +0000
2173 # Node ID 17d952250a9d03cc3dc77b199ab60e959b9b0260
2173 # Node ID 17d952250a9d03cc3dc77b199ab60e959b9b0260
2174 # Parent 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2174 # Parent 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2175 mv dir/b e
2175 mv dir/b e
2176
2176
2177 diff -r 5918b8d165d1 -r 17d952250a9d dir/b
2177 diff -r 5918b8d165d1 -r 17d952250a9d dir/b
2178 --- a/dir/b Thu Jan 01 00:00:00 1970 +0000
2178 --- a/dir/b Thu Jan 01 00:00:00 1970 +0000
2179 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2179 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2180 @@ -1,1 +0,0 @@
2180 @@ -1,1 +0,0 @@
2181 -a
2181 -a
2182 diff -r 5918b8d165d1 -r 17d952250a9d e
2182 diff -r 5918b8d165d1 -r 17d952250a9d e
2183 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2183 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2184 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2184 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2185 @@ -0,0 +1,1 @@
2185 @@ -0,0 +1,1 @@
2186 +a
2186 +a
2187 # HG changeset patch
2187 # HG changeset patch
2188 # User test
2188 # User test
2189 # Date 0 0
2189 # Date 0 0
2190 # Thu Jan 01 00:00:00 1970 +0000
2190 # Thu Jan 01 00:00:00 1970 +0000
2191 # Node ID 99b31f1c2782e2deb1723cef08930f70fc84b37b
2191 # Node ID 99b31f1c2782e2deb1723cef08930f70fc84b37b
2192 # Parent 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2192 # Parent 5918b8d165d1364e78a66d02e66caa0133c5d1ed
2193 add another e
2193 add another e
2194
2194
2195 diff -r 5918b8d165d1 -r 99b31f1c2782 e
2195 diff -r 5918b8d165d1 -r 99b31f1c2782 e
2196 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2196 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2197 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2197 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2198 @@ -0,0 +1,1 @@
2198 @@ -0,0 +1,1 @@
2199 +ee
2199 +ee
2200 # HG changeset patch
2200 # HG changeset patch
2201 # User test
2201 # User test
2202 # Date 0 0
2202 # Date 0 0
2203 # Thu Jan 01 00:00:00 1970 +0000
2203 # Thu Jan 01 00:00:00 1970 +0000
2204 # Node ID fc281d8ff18d999ad6497b3d27390bcd695dcc73
2204 # Node ID fc281d8ff18d999ad6497b3d27390bcd695dcc73
2205 # Parent 99b31f1c2782e2deb1723cef08930f70fc84b37b
2205 # Parent 99b31f1c2782e2deb1723cef08930f70fc84b37b
2206 # Parent 17d952250a9d03cc3dc77b199ab60e959b9b0260
2206 # Parent 17d952250a9d03cc3dc77b199ab60e959b9b0260
2207 merge 5 and 4
2207 merge 5 and 4
2208
2208
2209 diff -r 99b31f1c2782 -r fc281d8ff18d dir/b
2209 diff -r 99b31f1c2782 -r fc281d8ff18d dir/b
2210 --- a/dir/b Thu Jan 01 00:00:00 1970 +0000
2210 --- a/dir/b Thu Jan 01 00:00:00 1970 +0000
2211 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2211 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2212 @@ -1,1 +0,0 @@
2212 @@ -1,1 +0,0 @@
2213 -a
2213 -a
2214 diff -r 99b31f1c2782 -r fc281d8ff18d e
2214 diff -r 99b31f1c2782 -r fc281d8ff18d e
2215 --- a/e Thu Jan 01 00:00:00 1970 +0000
2215 --- a/e Thu Jan 01 00:00:00 1970 +0000
2216 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2216 +++ b/e Thu Jan 01 00:00:00 1970 +0000
2217 @@ -1,1 +1,1 @@
2217 @@ -1,1 +1,1 @@
2218 -ee
2218 -ee
2219 +merge
2219 +merge
2220 # HG changeset patch
2220 # HG changeset patch
2221 # User test
2221 # User test
2222 # Date 0 0
2222 # Date 0 0
2223 # Thu Jan 01 00:00:00 1970 +0000
2223 # Thu Jan 01 00:00:00 1970 +0000
2224 # Node ID 02dbb8e276b8ab7abfd07cab50c901647e75c2dd
2224 # Node ID 02dbb8e276b8ab7abfd07cab50c901647e75c2dd
2225 # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73
2225 # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73
2226 Added tag foo-bar for changeset fc281d8ff18d
2226 Added tag foo-bar for changeset fc281d8ff18d
2227
2227
2228 diff -r fc281d8ff18d -r 02dbb8e276b8 .hgtags
2228 diff -r fc281d8ff18d -r 02dbb8e276b8 .hgtags
2229 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2229 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2230 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2230 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
2231 @@ -0,0 +1,1 @@
2231 @@ -0,0 +1,1 @@
2232 +fc281d8ff18d999ad6497b3d27390bcd695dcc73 foo-bar
2232 +fc281d8ff18d999ad6497b3d27390bcd695dcc73 foo-bar
2233 # HG changeset patch
2233 # HG changeset patch
2234 # User test
2234 # User test
2235 # Date 0 0
2235 # Date 0 0
2236 # Thu Jan 01 00:00:00 1970 +0000
2236 # Thu Jan 01 00:00:00 1970 +0000
2237 # Node ID 24c2e826ddebf80f9dcd60b856bdb8e6715c5449
2237 # Node ID 24c2e826ddebf80f9dcd60b856bdb8e6715c5449
2238 # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73
2238 # Parent fc281d8ff18d999ad6497b3d27390bcd695dcc73
2239 add g
2239 add g
2240
2240
2241 diff -r fc281d8ff18d -r 24c2e826ddeb g
2241 diff -r fc281d8ff18d -r 24c2e826ddeb g
2242 --- a/g Thu Jan 01 00:00:00 1970 +0000
2242 --- a/g Thu Jan 01 00:00:00 1970 +0000
2243 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2243 +++ b/g Thu Jan 01 00:00:00 1970 +0000
2244 @@ -1,2 +1,1 @@
2244 @@ -1,2 +1,1 @@
2245 -f
2245 -f
2246 -f
2246 -f
2247 +g
2247 +g
2248 $ testlog --follow -r6 -r8 -r5 -r7 -r4
2248 $ testlog --follow -r6 -r8 -r5 -r7 -r4
2249 ['6', '8', '5', '7', '4']
2249 ['6', '8', '5', '7', '4']
2250 []
2250 []
2251 <generatorsetdesc->
2251 <generatorsetdesc->
2252
2252
2253 Test --follow-first and forward --rev
2253 Test --follow-first and forward --rev
2254
2254
2255 $ testlog --follow-first -r6 -r8 -r5 -r7 -r4
2255 $ testlog --follow-first -r6 -r8 -r5 -r7 -r4
2256 ['6', '8', '5', '7', '4']
2256 ['6', '8', '5', '7', '4']
2257 []
2257 []
2258 <generatorsetdesc->
2258 <generatorsetdesc->
2259
2259
2260 Test --follow and backward --rev
2260 Test --follow and backward --rev
2261
2261
2262 $ testlog --follow -r6 -r5 -r7 -r8 -r4
2262 $ testlog --follow -r6 -r5 -r7 -r8 -r4
2263 ['6', '5', '7', '8', '4']
2263 ['6', '5', '7', '8', '4']
2264 []
2264 []
2265 <generatorsetdesc->
2265 <generatorsetdesc->
2266
2266
2267 Test --follow-first and backward --rev
2267 Test --follow-first and backward --rev
2268
2268
2269 $ testlog --follow-first -r6 -r5 -r7 -r8 -r4
2269 $ testlog --follow-first -r6 -r5 -r7 -r8 -r4
2270 ['6', '5', '7', '8', '4']
2270 ['6', '5', '7', '8', '4']
2271 []
2271 []
2272 <generatorsetdesc->
2272 <generatorsetdesc->
2273
2273
2274 Test --follow with --rev of graphlog extension
2274 Test --follow with --rev of graphlog extension
2275
2275
2276 $ hg --config extensions.graphlog= glog -qfr1
2276 $ hg --config extensions.graphlog= glog -qfr1
2277 o 1:216d4c92cf98
2277 o 1:216d4c92cf98
2278 |
2278 |
2279 o 0:f8035bb17114
2279 o 0:f8035bb17114
2280
2280
2281
2281
2282 Test subdir
2282 Test subdir
2283
2283
2284 $ hg up -q 3
2284 $ hg up -q 3
2285 $ cd dir
2285 $ cd dir
2286 $ testlog .
2286 $ testlog .
2287 []
2287 []
2288 (func
2288 (func
2289 (symbol '_matchfiles')
2289 (symbol '_matchfiles')
2290 (list
2290 (list
2291 (string 'r:')
2291 (string 'r:')
2292 (string 'd:relpath')
2292 (string 'd:relpath')
2293 (string 'p:.')))
2293 (string 'p:.')))
2294 <filteredset
2294 <filteredset
2295 <spanset- 0:9>,
2295 <spanset- 0:9>,
2296 <matchfiles patterns=['.'], include=[] exclude=[], default='relpath', rev=2147483647>>
2296 <matchfiles patterns=['.'], include=[] exclude=[], default='relpath', rev=2147483647>>
2297 $ testlog ../b
2297 $ testlog ../b
2298 []
2298 []
2299 (func
2299 (func
2300 (symbol 'filelog')
2300 (symbol 'filelog')
2301 (string '../b'))
2301 (string '../b'))
2302 <filteredset
2302 <filteredset
2303 <spanset- 0:9>, set([1])>
2303 <spanset- 0:9>, set([1])>
2304 $ testlog -f ../b
2304 $ testlog -f ../b
2305 []
2305 []
2306 []
2306 []
2307 <generatorsetdesc->
2307 <generatorsetdesc->
2308 $ cd ..
2308 $ cd ..
2309
2309
2310 Test --hidden
2310 Test --hidden
2311 (enable obsolete)
2311 (enable obsolete)
2312
2312
2313 $ cat >> $HGRCPATH << EOF
2313 $ cat >> $HGRCPATH << EOF
2314 > [experimental]
2314 > [experimental]
2315 > evolution.createmarkers=True
2315 > evolution.createmarkers=True
2316 > EOF
2316 > EOF
2317
2317
2318 $ hg debugobsolete `hg id --debug -i -r 8`
2318 $ hg debugobsolete `hg id --debug -i -r 8`
2319 obsoleted 1 changesets
2319 obsoleted 1 changesets
2320 $ testlog
2320 $ testlog
2321 []
2321 []
2322 []
2322 []
2323 <spanset- 0:9>
2323 <spanset- 0:9>
2324 $ testlog --hidden
2324 $ testlog --hidden
2325 []
2325 []
2326 []
2326 []
2327 <spanset- 0:9>
2327 <spanset- 0:9>
2328 $ hg log -G --template '{rev} {desc}\n'
2328 $ hg log -G --template '{rev} {desc}\n'
2329 o 7 Added tag foo-bar for changeset fc281d8ff18d
2329 o 7 Added tag foo-bar for changeset fc281d8ff18d
2330 |
2330 |
2331 o 6 merge 5 and 4
2331 o 6 merge 5 and 4
2332 |\
2332 |\
2333 | o 5 add another e
2333 | o 5 add another e
2334 | |
2334 | |
2335 o | 4 mv dir/b e
2335 o | 4 mv dir/b e
2336 |/
2336 |/
2337 @ 3 mv a b; add d
2337 @ 3 mv a b; add d
2338 |
2338 |
2339 o 2 mv b dir/b
2339 o 2 mv b dir/b
2340 |
2340 |
2341 o 1 copy a b
2341 o 1 copy a b
2342 |
2342 |
2343 o 0 add a
2343 o 0 add a
2344
2344
2345
2345
2346 A template without trailing newline should do something sane
2346 A template without trailing newline should do something sane
2347
2347
2348 $ hg log -G -r ::2 --template '{rev} {desc}'
2348 $ hg log -G -r ::2 --template '{rev} {desc}'
2349 o 2 mv b dir/b
2349 o 2 mv b dir/b
2350 |
2350 |
2351 o 1 copy a b
2351 o 1 copy a b
2352 |
2352 |
2353 o 0 add a
2353 o 0 add a
2354
2354
2355
2355
2356 Extra newlines must be preserved
2356 Extra newlines must be preserved
2357
2357
2358 $ hg log -G -r ::2 --template '\n{rev} {desc}\n\n'
2358 $ hg log -G -r ::2 --template '\n{rev} {desc}\n\n'
2359 o
2359 o
2360 | 2 mv b dir/b
2360 | 2 mv b dir/b
2361 |
2361 |
2362 o
2362 o
2363 | 1 copy a b
2363 | 1 copy a b
2364 |
2364 |
2365 o
2365 o
2366 0 add a
2366 0 add a
2367
2367
2368
2368
2369 The almost-empty template should do something sane too ...
2369 The almost-empty template should do something sane too ...
2370
2370
2371 $ hg log -G -r ::2 --template '\n'
2371 $ hg log -G -r ::2 --template '\n'
2372 o
2372 o
2373 |
2373 |
2374 o
2374 o
2375 |
2375 |
2376 o
2376 o
2377
2377
2378
2378
2379 issue3772
2379 issue3772
2380
2380
2381 $ hg log -G -r :null
2381 $ hg log -G -r :null
2382 o changeset: 0:f8035bb17114
2382 o changeset: 0:f8035bb17114
2383 | user: test
2383 | user: test
2384 | date: Thu Jan 01 00:00:00 1970 +0000
2384 | date: Thu Jan 01 00:00:00 1970 +0000
2385 | summary: add a
2385 | summary: add a
2386 |
2386 |
2387 o changeset: -1:000000000000
2387 o changeset: -1:000000000000
2388 user:
2388 user:
2389 date: Thu Jan 01 00:00:00 1970 +0000
2389 date: Thu Jan 01 00:00:00 1970 +0000
2390
2390
2391 $ hg log -G -r null:null
2391 $ hg log -G -r null:null
2392 o changeset: -1:000000000000
2392 o changeset: -1:000000000000
2393 user:
2393 user:
2394 date: Thu Jan 01 00:00:00 1970 +0000
2394 date: Thu Jan 01 00:00:00 1970 +0000
2395
2395
2396
2396
2397 should not draw line down to null due to the magic of fullreposet
2397 should not draw line down to null due to the magic of fullreposet
2398
2398
2399 $ hg log -G -r 'all()' | tail -6
2399 $ hg log -G -r 'all()' | tail -6
2400 |
2400 |
2401 o changeset: 0:f8035bb17114
2401 o changeset: 0:f8035bb17114
2402 user: test
2402 user: test
2403 date: Thu Jan 01 00:00:00 1970 +0000
2403 date: Thu Jan 01 00:00:00 1970 +0000
2404 summary: add a
2404 summary: add a
2405
2405
2406
2406
2407 $ hg log -G -r 'branch(default)' | tail -6
2407 $ hg log -G -r 'branch(default)' | tail -6
2408 |
2408 |
2409 o changeset: 0:f8035bb17114
2409 o changeset: 0:f8035bb17114
2410 user: test
2410 user: test
2411 date: Thu Jan 01 00:00:00 1970 +0000
2411 date: Thu Jan 01 00:00:00 1970 +0000
2412 summary: add a
2412 summary: add a
2413
2413
2414
2414
2415 working-directory revision
2415 working-directory revision
2416
2416
2417 $ hg log -G -qr '. + wdir()'
2417 $ hg log -G -qr '. + wdir()'
2418 o 2147483647:ffffffffffff
2418 o 2147483647:ffffffffffff
2419 |
2419 |
2420 @ 3:5918b8d165d1
2420 @ 3:5918b8d165d1
2421 |
2421 |
2422 ~
2422 ~
2423
2423
2424 node template with changesetprinter:
2424 node template with changesetprinter:
2425
2425
2426 $ hg log -Gqr 5:7 --config ui.graphnodetemplate='"{rev}"'
2426 $ hg log -Gqr 5:7 --config ui.graphnodetemplate='"{rev}"'
2427 7 7:02dbb8e276b8
2427 7 7:02dbb8e276b8
2428 |
2428 |
2429 6 6:fc281d8ff18d
2429 6 6:fc281d8ff18d
2430 |\
2430 |\
2431 | ~
2431 | ~
2432 5 5:99b31f1c2782
2432 5 5:99b31f1c2782
2433 |
2433 |
2434 ~
2434 ~
2435
2435
2436 node template with changesettemplater (shared cache variable):
2436 node template with changesettemplater (shared cache variable):
2437
2437
2438 $ hg log -Gr 5:7 -T '{latesttag % "{rev} {tag}+{distance}"}\n' \
2438 $ hg log -Gr 5:7 -T '{latesttag % "{rev} {tag}+{distance}"}\n' \
2439 > --config ui.graphnodetemplate='{ifeq(latesttagdistance, 0, "#", graphnode)}'
2439 > --config ui.graphnodetemplate='{ifeq(latesttagdistance, 0, "#", graphnode)}'
2440 o 7 foo-bar+1
2440 o 7 foo-bar+1
2441 |
2441 |
2442 # 6 foo-bar+0
2442 # 6 foo-bar+0
2443 |\
2443 |\
2444 | ~
2444 | ~
2445 o 5 null+5
2445 o 5 null+5
2446 |
2446 |
2447 ~
2447 ~
2448
2448
2449 label() should just work in node template:
2449 label() should just work in node template:
2450
2450
2451 $ hg log -Gqr 7 --config extensions.color= --color=debug \
2451 $ hg log -Gqr 7 --config extensions.color= --color=debug \
2452 > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}'
2452 > --config ui.graphnodetemplate='{label("branch.{branch}", rev)}'
2453 [branch.default|7] [log.node|7:02dbb8e276b8]
2453 [branch.default|7] [log.node|7:02dbb8e276b8]
2454 |
2454 |
2455 ~
2455 ~
2456
2456
2457 $ cd ..
2457 $ cd ..
2458
2458
2459 change graph edge styling
2459 change graph edge styling
2460
2460
2461 $ cd repo
2461 $ cd repo
2462 $ cat << EOF >> $HGRCPATH
2462 $ cat << EOF >> $HGRCPATH
2463 > [experimental]
2463 > [experimental]
2464 > graphstyle.parent = |
2464 > graphstyle.parent = |
2465 > graphstyle.grandparent = :
2465 > graphstyle.grandparent = :
2466 > graphstyle.missing =
2466 > graphstyle.missing =
2467 > EOF
2467 > EOF
2468 $ hg log -G -r 'file("a")' -m
2468 $ hg log -G -r 'file("a")' -m
2469 @ changeset: 36:08a19a744424
2469 @ changeset: 36:08a19a744424
2470 : branch: branch
2470 : branch: branch
2471 : tag: tip
2471 : tag: tip
2472 : parent: 35:9159c3644c5e
2472 : parent: 35:9159c3644c5e
2473 : parent: 35:9159c3644c5e
2473 : parent: 35:9159c3644c5e
2474 : user: test
2474 : user: test
2475 : date: Thu Jan 01 00:00:36 1970 +0000
2475 : date: Thu Jan 01 00:00:36 1970 +0000
2476 : summary: (36) buggy merge: identical parents
2476 : summary: (36) buggy merge: identical parents
2477 :
2477 :
2478 o changeset: 32:d06dffa21a31
2478 o changeset: 32:d06dffa21a31
2479 |\ parent: 27:886ed638191b
2479 |\ parent: 27:886ed638191b
2480 | : parent: 31:621d83e11f67
2480 | : parent: 31:621d83e11f67
2481 | : user: test
2481 | : user: test
2482 | : date: Thu Jan 01 00:00:32 1970 +0000
2482 | : date: Thu Jan 01 00:00:32 1970 +0000
2483 | : summary: (32) expand
2483 | : summary: (32) expand
2484 | :
2484 | :
2485 o : changeset: 31:621d83e11f67
2485 o : changeset: 31:621d83e11f67
2486 |\: parent: 21:d42a756af44d
2486 |\: parent: 21:d42a756af44d
2487 | : parent: 30:6e11cd4b648f
2487 | : parent: 30:6e11cd4b648f
2488 | : user: test
2488 | : user: test
2489 | : date: Thu Jan 01 00:00:31 1970 +0000
2489 | : date: Thu Jan 01 00:00:31 1970 +0000
2490 | : summary: (31) expand
2490 | : summary: (31) expand
2491 | :
2491 | :
2492 o : changeset: 30:6e11cd4b648f
2492 o : changeset: 30:6e11cd4b648f
2493 |\ \ parent: 28:44ecd0b9ae99
2493 |\ \ parent: 28:44ecd0b9ae99
2494 | ~ : parent: 29:cd9bb2be7593
2494 | ~ : parent: 29:cd9bb2be7593
2495 | : user: test
2495 | : user: test
2496 | : date: Thu Jan 01 00:00:30 1970 +0000
2496 | : date: Thu Jan 01 00:00:30 1970 +0000
2497 | : summary: (30) expand
2497 | : summary: (30) expand
2498 | /
2498 | /
2499 o : changeset: 28:44ecd0b9ae99
2499 o : changeset: 28:44ecd0b9ae99
2500 |\ \ parent: 1:6db2ef61d156
2500 |\ \ parent: 1:6db2ef61d156
2501 | ~ : parent: 26:7f25b6c2f0b9
2501 | ~ : parent: 26:7f25b6c2f0b9
2502 | : user: test
2502 | : user: test
2503 | : date: Thu Jan 01 00:00:28 1970 +0000
2503 | : date: Thu Jan 01 00:00:28 1970 +0000
2504 | : summary: (28) merge zero known
2504 | : summary: (28) merge zero known
2505 | /
2505 | /
2506 o : changeset: 26:7f25b6c2f0b9
2506 o : changeset: 26:7f25b6c2f0b9
2507 |\ \ parent: 18:1aa84d96232a
2507 |\ \ parent: 18:1aa84d96232a
2508 | | : parent: 25:91da8ed57247
2508 | | : parent: 25:91da8ed57247
2509 | | : user: test
2509 | | : user: test
2510 | | : date: Thu Jan 01 00:00:26 1970 +0000
2510 | | : date: Thu Jan 01 00:00:26 1970 +0000
2511 | | : summary: (26) merge one known; far right
2511 | | : summary: (26) merge one known; far right
2512 | | :
2512 | | :
2513 | o : changeset: 25:91da8ed57247
2513 | o : changeset: 25:91da8ed57247
2514 | |\: parent: 21:d42a756af44d
2514 | |\: parent: 21:d42a756af44d
2515 | | : parent: 24:a9c19a3d96b7
2515 | | : parent: 24:a9c19a3d96b7
2516 | | : user: test
2516 | | : user: test
2517 | | : date: Thu Jan 01 00:00:25 1970 +0000
2517 | | : date: Thu Jan 01 00:00:25 1970 +0000
2518 | | : summary: (25) merge one known; far left
2518 | | : summary: (25) merge one known; far left
2519 | | :
2519 | | :
2520 | o : changeset: 24:a9c19a3d96b7
2520 | o : changeset: 24:a9c19a3d96b7
2521 | |\ \ parent: 0:e6eb3150255d
2521 | |\ \ parent: 0:e6eb3150255d
2522 | | ~ : parent: 23:a01cddf0766d
2522 | | ~ : parent: 23:a01cddf0766d
2523 | | : user: test
2523 | | : user: test
2524 | | : date: Thu Jan 01 00:00:24 1970 +0000
2524 | | : date: Thu Jan 01 00:00:24 1970 +0000
2525 | | : summary: (24) merge one known; immediate right
2525 | | : summary: (24) merge one known; immediate right
2526 | | /
2526 | | /
2527 | o : changeset: 23:a01cddf0766d
2527 | o : changeset: 23:a01cddf0766d
2528 | |\ \ parent: 1:6db2ef61d156
2528 | |\ \ parent: 1:6db2ef61d156
2529 | | ~ : parent: 22:e0d9cccacb5d
2529 | | ~ : parent: 22:e0d9cccacb5d
2530 | | : user: test
2530 | | : user: test
2531 | | : date: Thu Jan 01 00:00:23 1970 +0000
2531 | | : date: Thu Jan 01 00:00:23 1970 +0000
2532 | | : summary: (23) merge one known; immediate left
2532 | | : summary: (23) merge one known; immediate left
2533 | | /
2533 | | /
2534 | o : changeset: 22:e0d9cccacb5d
2534 | o : changeset: 22:e0d9cccacb5d
2535 |/:/ parent: 18:1aa84d96232a
2535 |/:/ parent: 18:1aa84d96232a
2536 | : parent: 21:d42a756af44d
2536 | : parent: 21:d42a756af44d
2537 | : user: test
2537 | : user: test
2538 | : date: Thu Jan 01 00:00:22 1970 +0000
2538 | : date: Thu Jan 01 00:00:22 1970 +0000
2539 | : summary: (22) merge two known; one far left, one far right
2539 | : summary: (22) merge two known; one far left, one far right
2540 | :
2540 | :
2541 | o changeset: 21:d42a756af44d
2541 | o changeset: 21:d42a756af44d
2542 | |\ parent: 19:31ddc2c1573b
2542 | |\ parent: 19:31ddc2c1573b
2543 | | | parent: 20:d30ed6450e32
2543 | | | parent: 20:d30ed6450e32
2544 | | | user: test
2544 | | | user: test
2545 | | | date: Thu Jan 01 00:00:21 1970 +0000
2545 | | | date: Thu Jan 01 00:00:21 1970 +0000
2546 | | | summary: (21) expand
2546 | | | summary: (21) expand
2547 | | |
2547 | | |
2548 +---o changeset: 20:d30ed6450e32
2548 +---o changeset: 20:d30ed6450e32
2549 | | | parent: 0:e6eb3150255d
2549 | | | parent: 0:e6eb3150255d
2550 | | ~ parent: 18:1aa84d96232a
2550 | | ~ parent: 18:1aa84d96232a
2551 | | user: test
2551 | | user: test
2552 | | date: Thu Jan 01 00:00:20 1970 +0000
2552 | | date: Thu Jan 01 00:00:20 1970 +0000
2553 | | summary: (20) merge two known; two far right
2553 | | summary: (20) merge two known; two far right
2554 | |
2554 | |
2555 | o changeset: 19:31ddc2c1573b
2555 | o changeset: 19:31ddc2c1573b
2556 | |\ parent: 15:1dda3f72782d
2556 | |\ parent: 15:1dda3f72782d
2557 | | | parent: 17:44765d7c06e0
2557 | | | parent: 17:44765d7c06e0
2558 | | | user: test
2558 | | | user: test
2559 | | | date: Thu Jan 01 00:00:19 1970 +0000
2559 | | | date: Thu Jan 01 00:00:19 1970 +0000
2560 | | | summary: (19) expand
2560 | | | summary: (19) expand
2561 | | |
2561 | | |
2562 o | | changeset: 18:1aa84d96232a
2562 o | | changeset: 18:1aa84d96232a
2563 |\| | parent: 1:6db2ef61d156
2563 |\| | parent: 1:6db2ef61d156
2564 ~ | | parent: 15:1dda3f72782d
2564 ~ | | parent: 15:1dda3f72782d
2565 | | user: test
2565 | | user: test
2566 | | date: Thu Jan 01 00:00:18 1970 +0000
2566 | | date: Thu Jan 01 00:00:18 1970 +0000
2567 | | summary: (18) merge two known; two far left
2567 | | summary: (18) merge two known; two far left
2568 / /
2568 / /
2569 | o changeset: 17:44765d7c06e0
2569 | o changeset: 17:44765d7c06e0
2570 | |\ parent: 12:86b91144a6e9
2570 | |\ parent: 12:86b91144a6e9
2571 | | | parent: 16:3677d192927d
2571 | | | parent: 16:3677d192927d
2572 | | | user: test
2572 | | | user: test
2573 | | | date: Thu Jan 01 00:00:17 1970 +0000
2573 | | | date: Thu Jan 01 00:00:17 1970 +0000
2574 | | | summary: (17) expand
2574 | | | summary: (17) expand
2575 | | |
2575 | | |
2576 | | o changeset: 16:3677d192927d
2576 | | o changeset: 16:3677d192927d
2577 | | |\ parent: 0:e6eb3150255d
2577 | | |\ parent: 0:e6eb3150255d
2578 | | ~ ~ parent: 1:6db2ef61d156
2578 | | ~ ~ parent: 1:6db2ef61d156
2579 | | user: test
2579 | | user: test
2580 | | date: Thu Jan 01 00:00:16 1970 +0000
2580 | | date: Thu Jan 01 00:00:16 1970 +0000
2581 | | summary: (16) merge two known; one immediate right, one near right
2581 | | summary: (16) merge two known; one immediate right, one near right
2582 | |
2582 | |
2583 o | changeset: 15:1dda3f72782d
2583 o | changeset: 15:1dda3f72782d
2584 |\ \ parent: 13:22d8966a97e3
2584 |\ \ parent: 13:22d8966a97e3
2585 | | | parent: 14:8eac370358ef
2585 | | | parent: 14:8eac370358ef
2586 | | | user: test
2586 | | | user: test
2587 | | | date: Thu Jan 01 00:00:15 1970 +0000
2587 | | | date: Thu Jan 01 00:00:15 1970 +0000
2588 | | | summary: (15) expand
2588 | | | summary: (15) expand
2589 | | |
2589 | | |
2590 | o | changeset: 14:8eac370358ef
2590 | o | changeset: 14:8eac370358ef
2591 | |\| parent: 0:e6eb3150255d
2591 | |\| parent: 0:e6eb3150255d
2592 | ~ | parent: 12:86b91144a6e9
2592 | ~ | parent: 12:86b91144a6e9
2593 | | user: test
2593 | | user: test
2594 | | date: Thu Jan 01 00:00:14 1970 +0000
2594 | | date: Thu Jan 01 00:00:14 1970 +0000
2595 | | summary: (14) merge two known; one immediate right, one far right
2595 | | summary: (14) merge two known; one immediate right, one far right
2596 | /
2596 | /
2597 o | changeset: 13:22d8966a97e3
2597 o | changeset: 13:22d8966a97e3
2598 |\ \ parent: 9:7010c0af0a35
2598 |\ \ parent: 9:7010c0af0a35
2599 | | | parent: 11:832d76e6bdf2
2599 | | | parent: 11:832d76e6bdf2
2600 | | | user: test
2600 | | | user: test
2601 | | | date: Thu Jan 01 00:00:13 1970 +0000
2601 | | | date: Thu Jan 01 00:00:13 1970 +0000
2602 | | | summary: (13) expand
2602 | | | summary: (13) expand
2603 | | |
2603 | | |
2604 +---o changeset: 12:86b91144a6e9
2604 +---o changeset: 12:86b91144a6e9
2605 | | | parent: 1:6db2ef61d156
2605 | | | parent: 1:6db2ef61d156
2606 | | ~ parent: 9:7010c0af0a35
2606 | | ~ parent: 9:7010c0af0a35
2607 | | user: test
2607 | | user: test
2608 | | date: Thu Jan 01 00:00:12 1970 +0000
2608 | | date: Thu Jan 01 00:00:12 1970 +0000
2609 | | summary: (12) merge two known; one immediate right, one far left
2609 | | summary: (12) merge two known; one immediate right, one far left
2610 | |
2610 | |
2611 | o changeset: 11:832d76e6bdf2
2611 | o changeset: 11:832d76e6bdf2
2612 | |\ parent: 6:b105a072e251
2612 | |\ parent: 6:b105a072e251
2613 | | | parent: 10:74c64d036d72
2613 | | | parent: 10:74c64d036d72
2614 | | | user: test
2614 | | | user: test
2615 | | | date: Thu Jan 01 00:00:11 1970 +0000
2615 | | | date: Thu Jan 01 00:00:11 1970 +0000
2616 | | | summary: (11) expand
2616 | | | summary: (11) expand
2617 | | |
2617 | | |
2618 | | o changeset: 10:74c64d036d72
2618 | | o changeset: 10:74c64d036d72
2619 | |/| parent: 0:e6eb3150255d
2619 | |/| parent: 0:e6eb3150255d
2620 | | ~ parent: 6:b105a072e251
2620 | | ~ parent: 6:b105a072e251
2621 | | user: test
2621 | | user: test
2622 | | date: Thu Jan 01 00:00:10 1970 +0000
2622 | | date: Thu Jan 01 00:00:10 1970 +0000
2623 | | summary: (10) merge two known; one immediate left, one near right
2623 | | summary: (10) merge two known; one immediate left, one near right
2624 | |
2624 | |
2625 o | changeset: 9:7010c0af0a35
2625 o | changeset: 9:7010c0af0a35
2626 |\ \ parent: 7:b632bb1b1224
2626 |\ \ parent: 7:b632bb1b1224
2627 | | | parent: 8:7a0b11f71937
2627 | | | parent: 8:7a0b11f71937
2628 | | | user: test
2628 | | | user: test
2629 | | | date: Thu Jan 01 00:00:09 1970 +0000
2629 | | | date: Thu Jan 01 00:00:09 1970 +0000
2630 | | | summary: (9) expand
2630 | | | summary: (9) expand
2631 | | |
2631 | | |
2632 | o | changeset: 8:7a0b11f71937
2632 | o | changeset: 8:7a0b11f71937
2633 |/| | parent: 0:e6eb3150255d
2633 |/| | parent: 0:e6eb3150255d
2634 | ~ | parent: 7:b632bb1b1224
2634 | ~ | parent: 7:b632bb1b1224
2635 | | user: test
2635 | | user: test
2636 | | date: Thu Jan 01 00:00:08 1970 +0000
2636 | | date: Thu Jan 01 00:00:08 1970 +0000
2637 | | summary: (8) merge two known; one immediate left, one far right
2637 | | summary: (8) merge two known; one immediate left, one far right
2638 | /
2638 | /
2639 o | changeset: 7:b632bb1b1224
2639 o | changeset: 7:b632bb1b1224
2640 |\ \ parent: 2:3d9a33b8d1e1
2640 |\ \ parent: 2:3d9a33b8d1e1
2641 | ~ | parent: 5:4409d547b708
2641 | ~ | parent: 5:4409d547b708
2642 | | user: test
2642 | | user: test
2643 | | date: Thu Jan 01 00:00:07 1970 +0000
2643 | | date: Thu Jan 01 00:00:07 1970 +0000
2644 | | summary: (7) expand
2644 | | summary: (7) expand
2645 | /
2645 | /
2646 | o changeset: 6:b105a072e251
2646 | o changeset: 6:b105a072e251
2647 |/| parent: 2:3d9a33b8d1e1
2647 |/| parent: 2:3d9a33b8d1e1
2648 | ~ parent: 5:4409d547b708
2648 | ~ parent: 5:4409d547b708
2649 | user: test
2649 | user: test
2650 | date: Thu Jan 01 00:00:06 1970 +0000
2650 | date: Thu Jan 01 00:00:06 1970 +0000
2651 | summary: (6) merge two known; one immediate left, one far left
2651 | summary: (6) merge two known; one immediate left, one far left
2652 |
2652 |
2653 o changeset: 5:4409d547b708
2653 o changeset: 5:4409d547b708
2654 |\ parent: 3:27eef8ed80b4
2654 |\ parent: 3:27eef8ed80b4
2655 | ~ parent: 4:26a8bac39d9f
2655 | ~ parent: 4:26a8bac39d9f
2656 | user: test
2656 | user: test
2657 | date: Thu Jan 01 00:00:05 1970 +0000
2657 | date: Thu Jan 01 00:00:05 1970 +0000
2658 | summary: (5) expand
2658 | summary: (5) expand
2659 |
2659 |
2660 o changeset: 4:26a8bac39d9f
2660 o changeset: 4:26a8bac39d9f
2661 |\ parent: 1:6db2ef61d156
2661 |\ parent: 1:6db2ef61d156
2662 ~ ~ parent: 3:27eef8ed80b4
2662 ~ ~ parent: 3:27eef8ed80b4
2663 user: test
2663 user: test
2664 date: Thu Jan 01 00:00:04 1970 +0000
2664 date: Thu Jan 01 00:00:04 1970 +0000
2665 summary: (4) merge two known; one immediate left, one immediate right
2665 summary: (4) merge two known; one immediate left, one immediate right
2666
2666
2667
2667
2668 Setting HGPLAIN ignores graphmod styling:
2668 Setting HGPLAIN ignores graphmod styling:
2669
2669
2670 $ HGPLAIN=1 hg log -G -r 'file("a")' -m
2670 $ HGPLAIN=1 hg log -G -r 'file("a")' -m
2671 @ changeset: 36:08a19a744424
2671 @ changeset: 36:08a19a744424
2672 | branch: branch
2672 | branch: branch
2673 | tag: tip
2673 | tag: tip
2674 | parent: 35:9159c3644c5e
2674 | parent: 35:9159c3644c5e
2675 | parent: 35:9159c3644c5e
2675 | parent: 35:9159c3644c5e
2676 | user: test
2676 | user: test
2677 | date: Thu Jan 01 00:00:36 1970 +0000
2677 | date: Thu Jan 01 00:00:36 1970 +0000
2678 | summary: (36) buggy merge: identical parents
2678 | summary: (36) buggy merge: identical parents
2679 |
2679 |
2680 o changeset: 32:d06dffa21a31
2680 o changeset: 32:d06dffa21a31
2681 |\ parent: 27:886ed638191b
2681 |\ parent: 27:886ed638191b
2682 | | parent: 31:621d83e11f67
2682 | | parent: 31:621d83e11f67
2683 | | user: test
2683 | | user: test
2684 | | date: Thu Jan 01 00:00:32 1970 +0000
2684 | | date: Thu Jan 01 00:00:32 1970 +0000
2685 | | summary: (32) expand
2685 | | summary: (32) expand
2686 | |
2686 | |
2687 o | changeset: 31:621d83e11f67
2687 o | changeset: 31:621d83e11f67
2688 |\| parent: 21:d42a756af44d
2688 |\| parent: 21:d42a756af44d
2689 | | parent: 30:6e11cd4b648f
2689 | | parent: 30:6e11cd4b648f
2690 | | user: test
2690 | | user: test
2691 | | date: Thu Jan 01 00:00:31 1970 +0000
2691 | | date: Thu Jan 01 00:00:31 1970 +0000
2692 | | summary: (31) expand
2692 | | summary: (31) expand
2693 | |
2693 | |
2694 o | changeset: 30:6e11cd4b648f
2694 o | changeset: 30:6e11cd4b648f
2695 |\ \ parent: 28:44ecd0b9ae99
2695 |\ \ parent: 28:44ecd0b9ae99
2696 | | | parent: 29:cd9bb2be7593
2696 | | | parent: 29:cd9bb2be7593
2697 | | | user: test
2697 | | | user: test
2698 | | | date: Thu Jan 01 00:00:30 1970 +0000
2698 | | | date: Thu Jan 01 00:00:30 1970 +0000
2699 | | | summary: (30) expand
2699 | | | summary: (30) expand
2700 | | |
2700 | | |
2701 o | | changeset: 28:44ecd0b9ae99
2701 o | | changeset: 28:44ecd0b9ae99
2702 |\ \ \ parent: 1:6db2ef61d156
2702 |\ \ \ parent: 1:6db2ef61d156
2703 | | | | parent: 26:7f25b6c2f0b9
2703 | | | | parent: 26:7f25b6c2f0b9
2704 | | | | user: test
2704 | | | | user: test
2705 | | | | date: Thu Jan 01 00:00:28 1970 +0000
2705 | | | | date: Thu Jan 01 00:00:28 1970 +0000
2706 | | | | summary: (28) merge zero known
2706 | | | | summary: (28) merge zero known
2707 | | | |
2707 | | | |
2708 o | | | changeset: 26:7f25b6c2f0b9
2708 o | | | changeset: 26:7f25b6c2f0b9
2709 |\ \ \ \ parent: 18:1aa84d96232a
2709 |\ \ \ \ parent: 18:1aa84d96232a
2710 | | | | | parent: 25:91da8ed57247
2710 | | | | | parent: 25:91da8ed57247
2711 | | | | | user: test
2711 | | | | | user: test
2712 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
2712 | | | | | date: Thu Jan 01 00:00:26 1970 +0000
2713 | | | | | summary: (26) merge one known; far right
2713 | | | | | summary: (26) merge one known; far right
2714 | | | | |
2714 | | | | |
2715 | o-----+ changeset: 25:91da8ed57247
2715 | o-----+ changeset: 25:91da8ed57247
2716 | | | | | parent: 21:d42a756af44d
2716 | | | | | parent: 21:d42a756af44d
2717 | | | | | parent: 24:a9c19a3d96b7
2717 | | | | | parent: 24:a9c19a3d96b7
2718 | | | | | user: test
2718 | | | | | user: test
2719 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
2719 | | | | | date: Thu Jan 01 00:00:25 1970 +0000
2720 | | | | | summary: (25) merge one known; far left
2720 | | | | | summary: (25) merge one known; far left
2721 | | | | |
2721 | | | | |
2722 | o | | | changeset: 24:a9c19a3d96b7
2722 | o | | | changeset: 24:a9c19a3d96b7
2723 | |\ \ \ \ parent: 0:e6eb3150255d
2723 | |\ \ \ \ parent: 0:e6eb3150255d
2724 | | | | | | parent: 23:a01cddf0766d
2724 | | | | | | parent: 23:a01cddf0766d
2725 | | | | | | user: test
2725 | | | | | | user: test
2726 | | | | | | date: Thu Jan 01 00:00:24 1970 +0000
2726 | | | | | | date: Thu Jan 01 00:00:24 1970 +0000
2727 | | | | | | summary: (24) merge one known; immediate right
2727 | | | | | | summary: (24) merge one known; immediate right
2728 | | | | | |
2728 | | | | | |
2729 | o---+ | | changeset: 23:a01cddf0766d
2729 | o---+ | | changeset: 23:a01cddf0766d
2730 | | | | | | parent: 1:6db2ef61d156
2730 | | | | | | parent: 1:6db2ef61d156
2731 | | | | | | parent: 22:e0d9cccacb5d
2731 | | | | | | parent: 22:e0d9cccacb5d
2732 | | | | | | user: test
2732 | | | | | | user: test
2733 | | | | | | date: Thu Jan 01 00:00:23 1970 +0000
2733 | | | | | | date: Thu Jan 01 00:00:23 1970 +0000
2734 | | | | | | summary: (23) merge one known; immediate left
2734 | | | | | | summary: (23) merge one known; immediate left
2735 | | | | | |
2735 | | | | | |
2736 | o-------+ changeset: 22:e0d9cccacb5d
2736 | o-------+ changeset: 22:e0d9cccacb5d
2737 | | | | | | parent: 18:1aa84d96232a
2737 | | | | | | parent: 18:1aa84d96232a
2738 |/ / / / / parent: 21:d42a756af44d
2738 |/ / / / / parent: 21:d42a756af44d
2739 | | | | | user: test
2739 | | | | | user: test
2740 | | | | | date: Thu Jan 01 00:00:22 1970 +0000
2740 | | | | | date: Thu Jan 01 00:00:22 1970 +0000
2741 | | | | | summary: (22) merge two known; one far left, one far right
2741 | | | | | summary: (22) merge two known; one far left, one far right
2742 | | | | |
2742 | | | | |
2743 | | | | o changeset: 21:d42a756af44d
2743 | | | | o changeset: 21:d42a756af44d
2744 | | | | |\ parent: 19:31ddc2c1573b
2744 | | | | |\ parent: 19:31ddc2c1573b
2745 | | | | | | parent: 20:d30ed6450e32
2745 | | | | | | parent: 20:d30ed6450e32
2746 | | | | | | user: test
2746 | | | | | | user: test
2747 | | | | | | date: Thu Jan 01 00:00:21 1970 +0000
2747 | | | | | | date: Thu Jan 01 00:00:21 1970 +0000
2748 | | | | | | summary: (21) expand
2748 | | | | | | summary: (21) expand
2749 | | | | | |
2749 | | | | | |
2750 +-+-------o changeset: 20:d30ed6450e32
2750 +-+-------o changeset: 20:d30ed6450e32
2751 | | | | | parent: 0:e6eb3150255d
2751 | | | | | parent: 0:e6eb3150255d
2752 | | | | | parent: 18:1aa84d96232a
2752 | | | | | parent: 18:1aa84d96232a
2753 | | | | | user: test
2753 | | | | | user: test
2754 | | | | | date: Thu Jan 01 00:00:20 1970 +0000
2754 | | | | | date: Thu Jan 01 00:00:20 1970 +0000
2755 | | | | | summary: (20) merge two known; two far right
2755 | | | | | summary: (20) merge two known; two far right
2756 | | | | |
2756 | | | | |
2757 | | | | o changeset: 19:31ddc2c1573b
2757 | | | | o changeset: 19:31ddc2c1573b
2758 | | | | |\ parent: 15:1dda3f72782d
2758 | | | | |\ parent: 15:1dda3f72782d
2759 | | | | | | parent: 17:44765d7c06e0
2759 | | | | | | parent: 17:44765d7c06e0
2760 | | | | | | user: test
2760 | | | | | | user: test
2761 | | | | | | date: Thu Jan 01 00:00:19 1970 +0000
2761 | | | | | | date: Thu Jan 01 00:00:19 1970 +0000
2762 | | | | | | summary: (19) expand
2762 | | | | | | summary: (19) expand
2763 | | | | | |
2763 | | | | | |
2764 o---+---+ | changeset: 18:1aa84d96232a
2764 o---+---+ | changeset: 18:1aa84d96232a
2765 | | | | | parent: 1:6db2ef61d156
2765 | | | | | parent: 1:6db2ef61d156
2766 / / / / / parent: 15:1dda3f72782d
2766 / / / / / parent: 15:1dda3f72782d
2767 | | | | | user: test
2767 | | | | | user: test
2768 | | | | | date: Thu Jan 01 00:00:18 1970 +0000
2768 | | | | | date: Thu Jan 01 00:00:18 1970 +0000
2769 | | | | | summary: (18) merge two known; two far left
2769 | | | | | summary: (18) merge two known; two far left
2770 | | | | |
2770 | | | | |
2771 | | | | o changeset: 17:44765d7c06e0
2771 | | | | o changeset: 17:44765d7c06e0
2772 | | | | |\ parent: 12:86b91144a6e9
2772 | | | | |\ parent: 12:86b91144a6e9
2773 | | | | | | parent: 16:3677d192927d
2773 | | | | | | parent: 16:3677d192927d
2774 | | | | | | user: test
2774 | | | | | | user: test
2775 | | | | | | date: Thu Jan 01 00:00:17 1970 +0000
2775 | | | | | | date: Thu Jan 01 00:00:17 1970 +0000
2776 | | | | | | summary: (17) expand
2776 | | | | | | summary: (17) expand
2777 | | | | | |
2777 | | | | | |
2778 +-+-------o changeset: 16:3677d192927d
2778 +-+-------o changeset: 16:3677d192927d
2779 | | | | | parent: 0:e6eb3150255d
2779 | | | | | parent: 0:e6eb3150255d
2780 | | | | | parent: 1:6db2ef61d156
2780 | | | | | parent: 1:6db2ef61d156
2781 | | | | | user: test
2781 | | | | | user: test
2782 | | | | | date: Thu Jan 01 00:00:16 1970 +0000
2782 | | | | | date: Thu Jan 01 00:00:16 1970 +0000
2783 | | | | | summary: (16) merge two known; one immediate right, one near right
2783 | | | | | summary: (16) merge two known; one immediate right, one near right
2784 | | | | |
2784 | | | | |
2785 | | | o | changeset: 15:1dda3f72782d
2785 | | | o | changeset: 15:1dda3f72782d
2786 | | | |\ \ parent: 13:22d8966a97e3
2786 | | | |\ \ parent: 13:22d8966a97e3
2787 | | | | | | parent: 14:8eac370358ef
2787 | | | | | | parent: 14:8eac370358ef
2788 | | | | | | user: test
2788 | | | | | | user: test
2789 | | | | | | date: Thu Jan 01 00:00:15 1970 +0000
2789 | | | | | | date: Thu Jan 01 00:00:15 1970 +0000
2790 | | | | | | summary: (15) expand
2790 | | | | | | summary: (15) expand
2791 | | | | | |
2791 | | | | | |
2792 +-------o | changeset: 14:8eac370358ef
2792 +-------o | changeset: 14:8eac370358ef
2793 | | | | |/ parent: 0:e6eb3150255d
2793 | | | | |/ parent: 0:e6eb3150255d
2794 | | | | | parent: 12:86b91144a6e9
2794 | | | | | parent: 12:86b91144a6e9
2795 | | | | | user: test
2795 | | | | | user: test
2796 | | | | | date: Thu Jan 01 00:00:14 1970 +0000
2796 | | | | | date: Thu Jan 01 00:00:14 1970 +0000
2797 | | | | | summary: (14) merge two known; one immediate right, one far right
2797 | | | | | summary: (14) merge two known; one immediate right, one far right
2798 | | | | |
2798 | | | | |
2799 | | | o | changeset: 13:22d8966a97e3
2799 | | | o | changeset: 13:22d8966a97e3
2800 | | | |\ \ parent: 9:7010c0af0a35
2800 | | | |\ \ parent: 9:7010c0af0a35
2801 | | | | | | parent: 11:832d76e6bdf2
2801 | | | | | | parent: 11:832d76e6bdf2
2802 | | | | | | user: test
2802 | | | | | | user: test
2803 | | | | | | date: Thu Jan 01 00:00:13 1970 +0000
2803 | | | | | | date: Thu Jan 01 00:00:13 1970 +0000
2804 | | | | | | summary: (13) expand
2804 | | | | | | summary: (13) expand
2805 | | | | | |
2805 | | | | | |
2806 | +---+---o changeset: 12:86b91144a6e9
2806 | +---+---o changeset: 12:86b91144a6e9
2807 | | | | | parent: 1:6db2ef61d156
2807 | | | | | parent: 1:6db2ef61d156
2808 | | | | | parent: 9:7010c0af0a35
2808 | | | | | parent: 9:7010c0af0a35
2809 | | | | | user: test
2809 | | | | | user: test
2810 | | | | | date: Thu Jan 01 00:00:12 1970 +0000
2810 | | | | | date: Thu Jan 01 00:00:12 1970 +0000
2811 | | | | | summary: (12) merge two known; one immediate right, one far left
2811 | | | | | summary: (12) merge two known; one immediate right, one far left
2812 | | | | |
2812 | | | | |
2813 | | | | o changeset: 11:832d76e6bdf2
2813 | | | | o changeset: 11:832d76e6bdf2
2814 | | | | |\ parent: 6:b105a072e251
2814 | | | | |\ parent: 6:b105a072e251
2815 | | | | | | parent: 10:74c64d036d72
2815 | | | | | | parent: 10:74c64d036d72
2816 | | | | | | user: test
2816 | | | | | | user: test
2817 | | | | | | date: Thu Jan 01 00:00:11 1970 +0000
2817 | | | | | | date: Thu Jan 01 00:00:11 1970 +0000
2818 | | | | | | summary: (11) expand
2818 | | | | | | summary: (11) expand
2819 | | | | | |
2819 | | | | | |
2820 +---------o changeset: 10:74c64d036d72
2820 +---------o changeset: 10:74c64d036d72
2821 | | | | |/ parent: 0:e6eb3150255d
2821 | | | | |/ parent: 0:e6eb3150255d
2822 | | | | | parent: 6:b105a072e251
2822 | | | | | parent: 6:b105a072e251
2823 | | | | | user: test
2823 | | | | | user: test
2824 | | | | | date: Thu Jan 01 00:00:10 1970 +0000
2824 | | | | | date: Thu Jan 01 00:00:10 1970 +0000
2825 | | | | | summary: (10) merge two known; one immediate left, one near right
2825 | | | | | summary: (10) merge two known; one immediate left, one near right
2826 | | | | |
2826 | | | | |
2827 | | | o | changeset: 9:7010c0af0a35
2827 | | | o | changeset: 9:7010c0af0a35
2828 | | | |\ \ parent: 7:b632bb1b1224
2828 | | | |\ \ parent: 7:b632bb1b1224
2829 | | | | | | parent: 8:7a0b11f71937
2829 | | | | | | parent: 8:7a0b11f71937
2830 | | | | | | user: test
2830 | | | | | | user: test
2831 | | | | | | date: Thu Jan 01 00:00:09 1970 +0000
2831 | | | | | | date: Thu Jan 01 00:00:09 1970 +0000
2832 | | | | | | summary: (9) expand
2832 | | | | | | summary: (9) expand
2833 | | | | | |
2833 | | | | | |
2834 +-------o | changeset: 8:7a0b11f71937
2834 +-------o | changeset: 8:7a0b11f71937
2835 | | | |/ / parent: 0:e6eb3150255d
2835 | | | |/ / parent: 0:e6eb3150255d
2836 | | | | | parent: 7:b632bb1b1224
2836 | | | | | parent: 7:b632bb1b1224
2837 | | | | | user: test
2837 | | | | | user: test
2838 | | | | | date: Thu Jan 01 00:00:08 1970 +0000
2838 | | | | | date: Thu Jan 01 00:00:08 1970 +0000
2839 | | | | | summary: (8) merge two known; one immediate left, one far right
2839 | | | | | summary: (8) merge two known; one immediate left, one far right
2840 | | | | |
2840 | | | | |
2841 | | | o | changeset: 7:b632bb1b1224
2841 | | | o | changeset: 7:b632bb1b1224
2842 | | | |\ \ parent: 2:3d9a33b8d1e1
2842 | | | |\ \ parent: 2:3d9a33b8d1e1
2843 | | | | | | parent: 5:4409d547b708
2843 | | | | | | parent: 5:4409d547b708
2844 | | | | | | user: test
2844 | | | | | | user: test
2845 | | | | | | date: Thu Jan 01 00:00:07 1970 +0000
2845 | | | | | | date: Thu Jan 01 00:00:07 1970 +0000
2846 | | | | | | summary: (7) expand
2846 | | | | | | summary: (7) expand
2847 | | | | | |
2847 | | | | | |
2848 | | | +---o changeset: 6:b105a072e251
2848 | | | +---o changeset: 6:b105a072e251
2849 | | | | |/ parent: 2:3d9a33b8d1e1
2849 | | | | |/ parent: 2:3d9a33b8d1e1
2850 | | | | | parent: 5:4409d547b708
2850 | | | | | parent: 5:4409d547b708
2851 | | | | | user: test
2851 | | | | | user: test
2852 | | | | | date: Thu Jan 01 00:00:06 1970 +0000
2852 | | | | | date: Thu Jan 01 00:00:06 1970 +0000
2853 | | | | | summary: (6) merge two known; one immediate left, one far left
2853 | | | | | summary: (6) merge two known; one immediate left, one far left
2854 | | | | |
2854 | | | | |
2855 | | | o | changeset: 5:4409d547b708
2855 | | | o | changeset: 5:4409d547b708
2856 | | | |\ \ parent: 3:27eef8ed80b4
2856 | | | |\ \ parent: 3:27eef8ed80b4
2857 | | | | | | parent: 4:26a8bac39d9f
2857 | | | | | | parent: 4:26a8bac39d9f
2858 | | | | | | user: test
2858 | | | | | | user: test
2859 | | | | | | date: Thu Jan 01 00:00:05 1970 +0000
2859 | | | | | | date: Thu Jan 01 00:00:05 1970 +0000
2860 | | | | | | summary: (5) expand
2860 | | | | | | summary: (5) expand
2861 | | | | | |
2861 | | | | | |
2862 | +---o | | changeset: 4:26a8bac39d9f
2862 | +---o | | changeset: 4:26a8bac39d9f
2863 | | | |/ / parent: 1:6db2ef61d156
2863 | | | |/ / parent: 1:6db2ef61d156
2864 | | | | | parent: 3:27eef8ed80b4
2864 | | | | | parent: 3:27eef8ed80b4
2865 | | | | | user: test
2865 | | | | | user: test
2866 | | | | | date: Thu Jan 01 00:00:04 1970 +0000
2866 | | | | | date: Thu Jan 01 00:00:04 1970 +0000
2867 | | | | | summary: (4) merge two known; one immediate left, one immediate right
2867 | | | | | summary: (4) merge two known; one immediate left, one immediate right
2868 | | | | |
2868 | | | | |
2869
2869
2870 .. unless HGPLAINEXCEPT=graph is set:
2870 .. unless HGPLAINEXCEPT=graph is set:
2871
2871
2872 $ HGPLAIN=1 HGPLAINEXCEPT=graph hg log -G -r 'file("a")' -m
2872 $ HGPLAIN=1 HGPLAINEXCEPT=graph hg log -G -r 'file("a")' -m
2873 @ changeset: 36:08a19a744424
2873 @ changeset: 36:08a19a744424
2874 : branch: branch
2874 : branch: branch
2875 : tag: tip
2875 : tag: tip
2876 : parent: 35:9159c3644c5e
2876 : parent: 35:9159c3644c5e
2877 : parent: 35:9159c3644c5e
2877 : parent: 35:9159c3644c5e
2878 : user: test
2878 : user: test
2879 : date: Thu Jan 01 00:00:36 1970 +0000
2879 : date: Thu Jan 01 00:00:36 1970 +0000
2880 : summary: (36) buggy merge: identical parents
2880 : summary: (36) buggy merge: identical parents
2881 :
2881 :
2882 o changeset: 32:d06dffa21a31
2882 o changeset: 32:d06dffa21a31
2883 |\ parent: 27:886ed638191b
2883 |\ parent: 27:886ed638191b
2884 | : parent: 31:621d83e11f67
2884 | : parent: 31:621d83e11f67
2885 | : user: test
2885 | : user: test
2886 | : date: Thu Jan 01 00:00:32 1970 +0000
2886 | : date: Thu Jan 01 00:00:32 1970 +0000
2887 | : summary: (32) expand
2887 | : summary: (32) expand
2888 | :
2888 | :
2889 o : changeset: 31:621d83e11f67
2889 o : changeset: 31:621d83e11f67
2890 |\: parent: 21:d42a756af44d
2890 |\: parent: 21:d42a756af44d
2891 | : parent: 30:6e11cd4b648f
2891 | : parent: 30:6e11cd4b648f
2892 | : user: test
2892 | : user: test
2893 | : date: Thu Jan 01 00:00:31 1970 +0000
2893 | : date: Thu Jan 01 00:00:31 1970 +0000
2894 | : summary: (31) expand
2894 | : summary: (31) expand
2895 | :
2895 | :
2896 o : changeset: 30:6e11cd4b648f
2896 o : changeset: 30:6e11cd4b648f
2897 |\ \ parent: 28:44ecd0b9ae99
2897 |\ \ parent: 28:44ecd0b9ae99
2898 | ~ : parent: 29:cd9bb2be7593
2898 | ~ : parent: 29:cd9bb2be7593
2899 | : user: test
2899 | : user: test
2900 | : date: Thu Jan 01 00:00:30 1970 +0000
2900 | : date: Thu Jan 01 00:00:30 1970 +0000
2901 | : summary: (30) expand
2901 | : summary: (30) expand
2902 | /
2902 | /
2903 o : changeset: 28:44ecd0b9ae99
2903 o : changeset: 28:44ecd0b9ae99
2904 |\ \ parent: 1:6db2ef61d156
2904 |\ \ parent: 1:6db2ef61d156
2905 | ~ : parent: 26:7f25b6c2f0b9
2905 | ~ : parent: 26:7f25b6c2f0b9
2906 | : user: test
2906 | : user: test
2907 | : date: Thu Jan 01 00:00:28 1970 +0000
2907 | : date: Thu Jan 01 00:00:28 1970 +0000
2908 | : summary: (28) merge zero known
2908 | : summary: (28) merge zero known
2909 | /
2909 | /
2910 o : changeset: 26:7f25b6c2f0b9
2910 o : changeset: 26:7f25b6c2f0b9
2911 |\ \ parent: 18:1aa84d96232a
2911 |\ \ parent: 18:1aa84d96232a
2912 | | : parent: 25:91da8ed57247
2912 | | : parent: 25:91da8ed57247
2913 | | : user: test
2913 | | : user: test
2914 | | : date: Thu Jan 01 00:00:26 1970 +0000
2914 | | : date: Thu Jan 01 00:00:26 1970 +0000
2915 | | : summary: (26) merge one known; far right
2915 | | : summary: (26) merge one known; far right
2916 | | :
2916 | | :
2917 | o : changeset: 25:91da8ed57247
2917 | o : changeset: 25:91da8ed57247
2918 | |\: parent: 21:d42a756af44d
2918 | |\: parent: 21:d42a756af44d
2919 | | : parent: 24:a9c19a3d96b7
2919 | | : parent: 24:a9c19a3d96b7
2920 | | : user: test
2920 | | : user: test
2921 | | : date: Thu Jan 01 00:00:25 1970 +0000
2921 | | : date: Thu Jan 01 00:00:25 1970 +0000
2922 | | : summary: (25) merge one known; far left
2922 | | : summary: (25) merge one known; far left
2923 | | :
2923 | | :
2924 | o : changeset: 24:a9c19a3d96b7
2924 | o : changeset: 24:a9c19a3d96b7
2925 | |\ \ parent: 0:e6eb3150255d
2925 | |\ \ parent: 0:e6eb3150255d
2926 | | ~ : parent: 23:a01cddf0766d
2926 | | ~ : parent: 23:a01cddf0766d
2927 | | : user: test
2927 | | : user: test
2928 | | : date: Thu Jan 01 00:00:24 1970 +0000
2928 | | : date: Thu Jan 01 00:00:24 1970 +0000
2929 | | : summary: (24) merge one known; immediate right
2929 | | : summary: (24) merge one known; immediate right
2930 | | /
2930 | | /
2931 | o : changeset: 23:a01cddf0766d
2931 | o : changeset: 23:a01cddf0766d
2932 | |\ \ parent: 1:6db2ef61d156
2932 | |\ \ parent: 1:6db2ef61d156
2933 | | ~ : parent: 22:e0d9cccacb5d
2933 | | ~ : parent: 22:e0d9cccacb5d
2934 | | : user: test
2934 | | : user: test
2935 | | : date: Thu Jan 01 00:00:23 1970 +0000
2935 | | : date: Thu Jan 01 00:00:23 1970 +0000
2936 | | : summary: (23) merge one known; immediate left
2936 | | : summary: (23) merge one known; immediate left
2937 | | /
2937 | | /
2938 | o : changeset: 22:e0d9cccacb5d
2938 | o : changeset: 22:e0d9cccacb5d
2939 |/:/ parent: 18:1aa84d96232a
2939 |/:/ parent: 18:1aa84d96232a
2940 | : parent: 21:d42a756af44d
2940 | : parent: 21:d42a756af44d
2941 | : user: test
2941 | : user: test
2942 | : date: Thu Jan 01 00:00:22 1970 +0000
2942 | : date: Thu Jan 01 00:00:22 1970 +0000
2943 | : summary: (22) merge two known; one far left, one far right
2943 | : summary: (22) merge two known; one far left, one far right
2944 | :
2944 | :
2945 | o changeset: 21:d42a756af44d
2945 | o changeset: 21:d42a756af44d
2946 | |\ parent: 19:31ddc2c1573b
2946 | |\ parent: 19:31ddc2c1573b
2947 | | | parent: 20:d30ed6450e32
2947 | | | parent: 20:d30ed6450e32
2948 | | | user: test
2948 | | | user: test
2949 | | | date: Thu Jan 01 00:00:21 1970 +0000
2949 | | | date: Thu Jan 01 00:00:21 1970 +0000
2950 | | | summary: (21) expand
2950 | | | summary: (21) expand
2951 | | |
2951 | | |
2952 +---o changeset: 20:d30ed6450e32
2952 +---o changeset: 20:d30ed6450e32
2953 | | | parent: 0:e6eb3150255d
2953 | | | parent: 0:e6eb3150255d
2954 | | ~ parent: 18:1aa84d96232a
2954 | | ~ parent: 18:1aa84d96232a
2955 | | user: test
2955 | | user: test
2956 | | date: Thu Jan 01 00:00:20 1970 +0000
2956 | | date: Thu Jan 01 00:00:20 1970 +0000
2957 | | summary: (20) merge two known; two far right
2957 | | summary: (20) merge two known; two far right
2958 | |
2958 | |
2959 | o changeset: 19:31ddc2c1573b
2959 | o changeset: 19:31ddc2c1573b
2960 | |\ parent: 15:1dda3f72782d
2960 | |\ parent: 15:1dda3f72782d
2961 | | | parent: 17:44765d7c06e0
2961 | | | parent: 17:44765d7c06e0
2962 | | | user: test
2962 | | | user: test
2963 | | | date: Thu Jan 01 00:00:19 1970 +0000
2963 | | | date: Thu Jan 01 00:00:19 1970 +0000
2964 | | | summary: (19) expand
2964 | | | summary: (19) expand
2965 | | |
2965 | | |
2966 o | | changeset: 18:1aa84d96232a
2966 o | | changeset: 18:1aa84d96232a
2967 |\| | parent: 1:6db2ef61d156
2967 |\| | parent: 1:6db2ef61d156
2968 ~ | | parent: 15:1dda3f72782d
2968 ~ | | parent: 15:1dda3f72782d
2969 | | user: test
2969 | | user: test
2970 | | date: Thu Jan 01 00:00:18 1970 +0000
2970 | | date: Thu Jan 01 00:00:18 1970 +0000
2971 | | summary: (18) merge two known; two far left
2971 | | summary: (18) merge two known; two far left
2972 / /
2972 / /
2973 | o changeset: 17:44765d7c06e0
2973 | o changeset: 17:44765d7c06e0
2974 | |\ parent: 12:86b91144a6e9
2974 | |\ parent: 12:86b91144a6e9
2975 | | | parent: 16:3677d192927d
2975 | | | parent: 16:3677d192927d
2976 | | | user: test
2976 | | | user: test
2977 | | | date: Thu Jan 01 00:00:17 1970 +0000
2977 | | | date: Thu Jan 01 00:00:17 1970 +0000
2978 | | | summary: (17) expand
2978 | | | summary: (17) expand
2979 | | |
2979 | | |
2980 | | o changeset: 16:3677d192927d
2980 | | o changeset: 16:3677d192927d
2981 | | |\ parent: 0:e6eb3150255d
2981 | | |\ parent: 0:e6eb3150255d
2982 | | ~ ~ parent: 1:6db2ef61d156
2982 | | ~ ~ parent: 1:6db2ef61d156
2983 | | user: test
2983 | | user: test
2984 | | date: Thu Jan 01 00:00:16 1970 +0000
2984 | | date: Thu Jan 01 00:00:16 1970 +0000
2985 | | summary: (16) merge two known; one immediate right, one near right
2985 | | summary: (16) merge two known; one immediate right, one near right
2986 | |
2986 | |
2987 o | changeset: 15:1dda3f72782d
2987 o | changeset: 15:1dda3f72782d
2988 |\ \ parent: 13:22d8966a97e3
2988 |\ \ parent: 13:22d8966a97e3
2989 | | | parent: 14:8eac370358ef
2989 | | | parent: 14:8eac370358ef
2990 | | | user: test
2990 | | | user: test
2991 | | | date: Thu Jan 01 00:00:15 1970 +0000
2991 | | | date: Thu Jan 01 00:00:15 1970 +0000
2992 | | | summary: (15) expand
2992 | | | summary: (15) expand
2993 | | |
2993 | | |
2994 | o | changeset: 14:8eac370358ef
2994 | o | changeset: 14:8eac370358ef
2995 | |\| parent: 0:e6eb3150255d
2995 | |\| parent: 0:e6eb3150255d
2996 | ~ | parent: 12:86b91144a6e9
2996 | ~ | parent: 12:86b91144a6e9
2997 | | user: test
2997 | | user: test
2998 | | date: Thu Jan 01 00:00:14 1970 +0000
2998 | | date: Thu Jan 01 00:00:14 1970 +0000
2999 | | summary: (14) merge two known; one immediate right, one far right
2999 | | summary: (14) merge two known; one immediate right, one far right
3000 | /
3000 | /
3001 o | changeset: 13:22d8966a97e3
3001 o | changeset: 13:22d8966a97e3
3002 |\ \ parent: 9:7010c0af0a35
3002 |\ \ parent: 9:7010c0af0a35
3003 | | | parent: 11:832d76e6bdf2
3003 | | | parent: 11:832d76e6bdf2
3004 | | | user: test
3004 | | | user: test
3005 | | | date: Thu Jan 01 00:00:13 1970 +0000
3005 | | | date: Thu Jan 01 00:00:13 1970 +0000
3006 | | | summary: (13) expand
3006 | | | summary: (13) expand
3007 | | |
3007 | | |
3008 +---o changeset: 12:86b91144a6e9
3008 +---o changeset: 12:86b91144a6e9
3009 | | | parent: 1:6db2ef61d156
3009 | | | parent: 1:6db2ef61d156
3010 | | ~ parent: 9:7010c0af0a35
3010 | | ~ parent: 9:7010c0af0a35
3011 | | user: test
3011 | | user: test
3012 | | date: Thu Jan 01 00:00:12 1970 +0000
3012 | | date: Thu Jan 01 00:00:12 1970 +0000
3013 | | summary: (12) merge two known; one immediate right, one far left
3013 | | summary: (12) merge two known; one immediate right, one far left
3014 | |
3014 | |
3015 | o changeset: 11:832d76e6bdf2
3015 | o changeset: 11:832d76e6bdf2
3016 | |\ parent: 6:b105a072e251
3016 | |\ parent: 6:b105a072e251
3017 | | | parent: 10:74c64d036d72
3017 | | | parent: 10:74c64d036d72
3018 | | | user: test
3018 | | | user: test
3019 | | | date: Thu Jan 01 00:00:11 1970 +0000
3019 | | | date: Thu Jan 01 00:00:11 1970 +0000
3020 | | | summary: (11) expand
3020 | | | summary: (11) expand
3021 | | |
3021 | | |
3022 | | o changeset: 10:74c64d036d72
3022 | | o changeset: 10:74c64d036d72
3023 | |/| parent: 0:e6eb3150255d
3023 | |/| parent: 0:e6eb3150255d
3024 | | ~ parent: 6:b105a072e251
3024 | | ~ parent: 6:b105a072e251
3025 | | user: test
3025 | | user: test
3026 | | date: Thu Jan 01 00:00:10 1970 +0000
3026 | | date: Thu Jan 01 00:00:10 1970 +0000
3027 | | summary: (10) merge two known; one immediate left, one near right
3027 | | summary: (10) merge two known; one immediate left, one near right
3028 | |
3028 | |
3029 o | changeset: 9:7010c0af0a35
3029 o | changeset: 9:7010c0af0a35
3030 |\ \ parent: 7:b632bb1b1224
3030 |\ \ parent: 7:b632bb1b1224
3031 | | | parent: 8:7a0b11f71937
3031 | | | parent: 8:7a0b11f71937
3032 | | | user: test
3032 | | | user: test
3033 | | | date: Thu Jan 01 00:00:09 1970 +0000
3033 | | | date: Thu Jan 01 00:00:09 1970 +0000
3034 | | | summary: (9) expand
3034 | | | summary: (9) expand
3035 | | |
3035 | | |
3036 | o | changeset: 8:7a0b11f71937
3036 | o | changeset: 8:7a0b11f71937
3037 |/| | parent: 0:e6eb3150255d
3037 |/| | parent: 0:e6eb3150255d
3038 | ~ | parent: 7:b632bb1b1224
3038 | ~ | parent: 7:b632bb1b1224
3039 | | user: test
3039 | | user: test
3040 | | date: Thu Jan 01 00:00:08 1970 +0000
3040 | | date: Thu Jan 01 00:00:08 1970 +0000
3041 | | summary: (8) merge two known; one immediate left, one far right
3041 | | summary: (8) merge two known; one immediate left, one far right
3042 | /
3042 | /
3043 o | changeset: 7:b632bb1b1224
3043 o | changeset: 7:b632bb1b1224
3044 |\ \ parent: 2:3d9a33b8d1e1
3044 |\ \ parent: 2:3d9a33b8d1e1
3045 | ~ | parent: 5:4409d547b708
3045 | ~ | parent: 5:4409d547b708
3046 | | user: test
3046 | | user: test
3047 | | date: Thu Jan 01 00:00:07 1970 +0000
3047 | | date: Thu Jan 01 00:00:07 1970 +0000
3048 | | summary: (7) expand
3048 | | summary: (7) expand
3049 | /
3049 | /
3050 | o changeset: 6:b105a072e251
3050 | o changeset: 6:b105a072e251
3051 |/| parent: 2:3d9a33b8d1e1
3051 |/| parent: 2:3d9a33b8d1e1
3052 | ~ parent: 5:4409d547b708
3052 | ~ parent: 5:4409d547b708
3053 | user: test
3053 | user: test
3054 | date: Thu Jan 01 00:00:06 1970 +0000
3054 | date: Thu Jan 01 00:00:06 1970 +0000
3055 | summary: (6) merge two known; one immediate left, one far left
3055 | summary: (6) merge two known; one immediate left, one far left
3056 |
3056 |
3057 o changeset: 5:4409d547b708
3057 o changeset: 5:4409d547b708
3058 |\ parent: 3:27eef8ed80b4
3058 |\ parent: 3:27eef8ed80b4
3059 | ~ parent: 4:26a8bac39d9f
3059 | ~ parent: 4:26a8bac39d9f
3060 | user: test
3060 | user: test
3061 | date: Thu Jan 01 00:00:05 1970 +0000
3061 | date: Thu Jan 01 00:00:05 1970 +0000
3062 | summary: (5) expand
3062 | summary: (5) expand
3063 |
3063 |
3064 o changeset: 4:26a8bac39d9f
3064 o changeset: 4:26a8bac39d9f
3065 |\ parent: 1:6db2ef61d156
3065 |\ parent: 1:6db2ef61d156
3066 ~ ~ parent: 3:27eef8ed80b4
3066 ~ ~ parent: 3:27eef8ed80b4
3067 user: test
3067 user: test
3068 date: Thu Jan 01 00:00:04 1970 +0000
3068 date: Thu Jan 01 00:00:04 1970 +0000
3069 summary: (4) merge two known; one immediate left, one immediate right
3069 summary: (4) merge two known; one immediate left, one immediate right
3070
3070
3071 Draw only part of a grandparent line differently with "<N><char>"; only the
3071 Draw only part of a grandparent line differently with "<N><char>"; only the
3072 last N lines (for positive N) or everything but the first N lines (for
3072 last N lines (for positive N) or everything but the first N lines (for
3073 negative N) along the current node use the style, the rest of the edge uses
3073 negative N) along the current node use the style, the rest of the edge uses
3074 the parent edge styling.
3074 the parent edge styling.
3075
3075
3076 Last 3 lines:
3076 Last 3 lines:
3077
3077
3078 $ cat << EOF >> $HGRCPATH
3078 $ cat << EOF >> $HGRCPATH
3079 > [experimental]
3079 > [experimental]
3080 > graphstyle.parent = !
3080 > graphstyle.parent = !
3081 > graphstyle.grandparent = 3.
3081 > graphstyle.grandparent = 3.
3082 > graphstyle.missing =
3082 > graphstyle.missing =
3083 > EOF
3083 > EOF
3084 $ hg log -G -r '36:18 & file("a")' -m
3084 $ hg log -G -r '36:18 & file("a")' -m
3085 @ changeset: 36:08a19a744424
3085 @ changeset: 36:08a19a744424
3086 ! branch: branch
3086 ! branch: branch
3087 ! tag: tip
3087 ! tag: tip
3088 ! parent: 35:9159c3644c5e
3088 ! parent: 35:9159c3644c5e
3089 ! parent: 35:9159c3644c5e
3089 ! parent: 35:9159c3644c5e
3090 ! user: test
3090 ! user: test
3091 . date: Thu Jan 01 00:00:36 1970 +0000
3091 . date: Thu Jan 01 00:00:36 1970 +0000
3092 . summary: (36) buggy merge: identical parents
3092 . summary: (36) buggy merge: identical parents
3093 .
3093 .
3094 o changeset: 32:d06dffa21a31
3094 o changeset: 32:d06dffa21a31
3095 !\ parent: 27:886ed638191b
3095 !\ parent: 27:886ed638191b
3096 ! ! parent: 31:621d83e11f67
3096 ! ! parent: 31:621d83e11f67
3097 ! ! user: test
3097 ! ! user: test
3098 ! . date: Thu Jan 01 00:00:32 1970 +0000
3098 ! . date: Thu Jan 01 00:00:32 1970 +0000
3099 ! . summary: (32) expand
3099 ! . summary: (32) expand
3100 ! .
3100 ! .
3101 o ! changeset: 31:621d83e11f67
3101 o ! changeset: 31:621d83e11f67
3102 !\! parent: 21:d42a756af44d
3102 !\! parent: 21:d42a756af44d
3103 ! ! parent: 30:6e11cd4b648f
3103 ! ! parent: 30:6e11cd4b648f
3104 ! ! user: test
3104 ! ! user: test
3105 ! ! date: Thu Jan 01 00:00:31 1970 +0000
3105 ! ! date: Thu Jan 01 00:00:31 1970 +0000
3106 ! ! summary: (31) expand
3106 ! ! summary: (31) expand
3107 ! !
3107 ! !
3108 o ! changeset: 30:6e11cd4b648f
3108 o ! changeset: 30:6e11cd4b648f
3109 !\ \ parent: 28:44ecd0b9ae99
3109 !\ \ parent: 28:44ecd0b9ae99
3110 ! ~ ! parent: 29:cd9bb2be7593
3110 ! ~ ! parent: 29:cd9bb2be7593
3111 ! ! user: test
3111 ! ! user: test
3112 ! ! date: Thu Jan 01 00:00:30 1970 +0000
3112 ! ! date: Thu Jan 01 00:00:30 1970 +0000
3113 ! ! summary: (30) expand
3113 ! ! summary: (30) expand
3114 ! /
3114 ! /
3115 o ! changeset: 28:44ecd0b9ae99
3115 o ! changeset: 28:44ecd0b9ae99
3116 !\ \ parent: 1:6db2ef61d156
3116 !\ \ parent: 1:6db2ef61d156
3117 ! ~ ! parent: 26:7f25b6c2f0b9
3117 ! ~ ! parent: 26:7f25b6c2f0b9
3118 ! ! user: test
3118 ! ! user: test
3119 ! ! date: Thu Jan 01 00:00:28 1970 +0000
3119 ! ! date: Thu Jan 01 00:00:28 1970 +0000
3120 ! ! summary: (28) merge zero known
3120 ! ! summary: (28) merge zero known
3121 ! /
3121 ! /
3122 o ! changeset: 26:7f25b6c2f0b9
3122 o ! changeset: 26:7f25b6c2f0b9
3123 !\ \ parent: 18:1aa84d96232a
3123 !\ \ parent: 18:1aa84d96232a
3124 ! ! ! parent: 25:91da8ed57247
3124 ! ! ! parent: 25:91da8ed57247
3125 ! ! ! user: test
3125 ! ! ! user: test
3126 ! ! ! date: Thu Jan 01 00:00:26 1970 +0000
3126 ! ! ! date: Thu Jan 01 00:00:26 1970 +0000
3127 ! ! ! summary: (26) merge one known; far right
3127 ! ! ! summary: (26) merge one known; far right
3128 ! ! !
3128 ! ! !
3129 ! o ! changeset: 25:91da8ed57247
3129 ! o ! changeset: 25:91da8ed57247
3130 ! !\! parent: 21:d42a756af44d
3130 ! !\! parent: 21:d42a756af44d
3131 ! ! ! parent: 24:a9c19a3d96b7
3131 ! ! ! parent: 24:a9c19a3d96b7
3132 ! ! ! user: test
3132 ! ! ! user: test
3133 ! ! ! date: Thu Jan 01 00:00:25 1970 +0000
3133 ! ! ! date: Thu Jan 01 00:00:25 1970 +0000
3134 ! ! ! summary: (25) merge one known; far left
3134 ! ! ! summary: (25) merge one known; far left
3135 ! ! !
3135 ! ! !
3136 ! o ! changeset: 24:a9c19a3d96b7
3136 ! o ! changeset: 24:a9c19a3d96b7
3137 ! !\ \ parent: 0:e6eb3150255d
3137 ! !\ \ parent: 0:e6eb3150255d
3138 ! ! ~ ! parent: 23:a01cddf0766d
3138 ! ! ~ ! parent: 23:a01cddf0766d
3139 ! ! ! user: test
3139 ! ! ! user: test
3140 ! ! ! date: Thu Jan 01 00:00:24 1970 +0000
3140 ! ! ! date: Thu Jan 01 00:00:24 1970 +0000
3141 ! ! ! summary: (24) merge one known; immediate right
3141 ! ! ! summary: (24) merge one known; immediate right
3142 ! ! /
3142 ! ! /
3143 ! o ! changeset: 23:a01cddf0766d
3143 ! o ! changeset: 23:a01cddf0766d
3144 ! !\ \ parent: 1:6db2ef61d156
3144 ! !\ \ parent: 1:6db2ef61d156
3145 ! ! ~ ! parent: 22:e0d9cccacb5d
3145 ! ! ~ ! parent: 22:e0d9cccacb5d
3146 ! ! ! user: test
3146 ! ! ! user: test
3147 ! ! ! date: Thu Jan 01 00:00:23 1970 +0000
3147 ! ! ! date: Thu Jan 01 00:00:23 1970 +0000
3148 ! ! ! summary: (23) merge one known; immediate left
3148 ! ! ! summary: (23) merge one known; immediate left
3149 ! ! /
3149 ! ! /
3150 ! o ! changeset: 22:e0d9cccacb5d
3150 ! o ! changeset: 22:e0d9cccacb5d
3151 !/!/ parent: 18:1aa84d96232a
3151 !/!/ parent: 18:1aa84d96232a
3152 ! ! parent: 21:d42a756af44d
3152 ! ! parent: 21:d42a756af44d
3153 ! ! user: test
3153 ! ! user: test
3154 ! ! date: Thu Jan 01 00:00:22 1970 +0000
3154 ! ! date: Thu Jan 01 00:00:22 1970 +0000
3155 ! ! summary: (22) merge two known; one far left, one far right
3155 ! ! summary: (22) merge two known; one far left, one far right
3156 ! !
3156 ! !
3157 ! o changeset: 21:d42a756af44d
3157 ! o changeset: 21:d42a756af44d
3158 ! !\ parent: 19:31ddc2c1573b
3158 ! !\ parent: 19:31ddc2c1573b
3159 ! ! ! parent: 20:d30ed6450e32
3159 ! ! ! parent: 20:d30ed6450e32
3160 ! ! ! user: test
3160 ! ! ! user: test
3161 ! ! ! date: Thu Jan 01 00:00:21 1970 +0000
3161 ! ! ! date: Thu Jan 01 00:00:21 1970 +0000
3162 ! ! ! summary: (21) expand
3162 ! ! ! summary: (21) expand
3163 ! ! !
3163 ! ! !
3164 +---o changeset: 20:d30ed6450e32
3164 +---o changeset: 20:d30ed6450e32
3165 ! ! | parent: 0:e6eb3150255d
3165 ! ! | parent: 0:e6eb3150255d
3166 ! ! ~ parent: 18:1aa84d96232a
3166 ! ! ~ parent: 18:1aa84d96232a
3167 ! ! user: test
3167 ! ! user: test
3168 ! ! date: Thu Jan 01 00:00:20 1970 +0000
3168 ! ! date: Thu Jan 01 00:00:20 1970 +0000
3169 ! ! summary: (20) merge two known; two far right
3169 ! ! summary: (20) merge two known; two far right
3170 ! !
3170 ! !
3171 ! o changeset: 19:31ddc2c1573b
3171 ! o changeset: 19:31ddc2c1573b
3172 ! |\ parent: 15:1dda3f72782d
3172 ! |\ parent: 15:1dda3f72782d
3173 ! ~ ~ parent: 17:44765d7c06e0
3173 ! ~ ~ parent: 17:44765d7c06e0
3174 ! user: test
3174 ! user: test
3175 ! date: Thu Jan 01 00:00:19 1970 +0000
3175 ! date: Thu Jan 01 00:00:19 1970 +0000
3176 ! summary: (19) expand
3176 ! summary: (19) expand
3177 !
3177 !
3178 o changeset: 18:1aa84d96232a
3178 o changeset: 18:1aa84d96232a
3179 |\ parent: 1:6db2ef61d156
3179 |\ parent: 1:6db2ef61d156
3180 ~ ~ parent: 15:1dda3f72782d
3180 ~ ~ parent: 15:1dda3f72782d
3181 user: test
3181 user: test
3182 date: Thu Jan 01 00:00:18 1970 +0000
3182 date: Thu Jan 01 00:00:18 1970 +0000
3183 summary: (18) merge two known; two far left
3183 summary: (18) merge two known; two far left
3184
3184
3185 All but the first 3 lines:
3185 All but the first 3 lines:
3186
3186
3187 $ cat << EOF >> $HGRCPATH
3187 $ cat << EOF >> $HGRCPATH
3188 > [experimental]
3188 > [experimental]
3189 > graphstyle.parent = !
3189 > graphstyle.parent = !
3190 > graphstyle.grandparent = -3.
3190 > graphstyle.grandparent = -3.
3191 > graphstyle.missing =
3191 > graphstyle.missing =
3192 > EOF
3192 > EOF
3193 $ hg log -G -r '36:18 & file("a")' -m
3193 $ hg log -G -r '36:18 & file("a")' -m
3194 @ changeset: 36:08a19a744424
3194 @ changeset: 36:08a19a744424
3195 ! branch: branch
3195 ! branch: branch
3196 ! tag: tip
3196 ! tag: tip
3197 . parent: 35:9159c3644c5e
3197 . parent: 35:9159c3644c5e
3198 . parent: 35:9159c3644c5e
3198 . parent: 35:9159c3644c5e
3199 . user: test
3199 . user: test
3200 . date: Thu Jan 01 00:00:36 1970 +0000
3200 . date: Thu Jan 01 00:00:36 1970 +0000
3201 . summary: (36) buggy merge: identical parents
3201 . summary: (36) buggy merge: identical parents
3202 .
3202 .
3203 o changeset: 32:d06dffa21a31
3203 o changeset: 32:d06dffa21a31
3204 !\ parent: 27:886ed638191b
3204 !\ parent: 27:886ed638191b
3205 ! ! parent: 31:621d83e11f67
3205 ! ! parent: 31:621d83e11f67
3206 ! . user: test
3206 ! . user: test
3207 ! . date: Thu Jan 01 00:00:32 1970 +0000
3207 ! . date: Thu Jan 01 00:00:32 1970 +0000
3208 ! . summary: (32) expand
3208 ! . summary: (32) expand
3209 ! .
3209 ! .
3210 o ! changeset: 31:621d83e11f67
3210 o ! changeset: 31:621d83e11f67
3211 !\! parent: 21:d42a756af44d
3211 !\! parent: 21:d42a756af44d
3212 ! ! parent: 30:6e11cd4b648f
3212 ! ! parent: 30:6e11cd4b648f
3213 ! ! user: test
3213 ! ! user: test
3214 ! ! date: Thu Jan 01 00:00:31 1970 +0000
3214 ! ! date: Thu Jan 01 00:00:31 1970 +0000
3215 ! ! summary: (31) expand
3215 ! ! summary: (31) expand
3216 ! !
3216 ! !
3217 o ! changeset: 30:6e11cd4b648f
3217 o ! changeset: 30:6e11cd4b648f
3218 !\ \ parent: 28:44ecd0b9ae99
3218 !\ \ parent: 28:44ecd0b9ae99
3219 ! ~ ! parent: 29:cd9bb2be7593
3219 ! ~ ! parent: 29:cd9bb2be7593
3220 ! ! user: test
3220 ! ! user: test
3221 ! ! date: Thu Jan 01 00:00:30 1970 +0000
3221 ! ! date: Thu Jan 01 00:00:30 1970 +0000
3222 ! ! summary: (30) expand
3222 ! ! summary: (30) expand
3223 ! /
3223 ! /
3224 o ! changeset: 28:44ecd0b9ae99
3224 o ! changeset: 28:44ecd0b9ae99
3225 !\ \ parent: 1:6db2ef61d156
3225 !\ \ parent: 1:6db2ef61d156
3226 ! ~ ! parent: 26:7f25b6c2f0b9
3226 ! ~ ! parent: 26:7f25b6c2f0b9
3227 ! ! user: test
3227 ! ! user: test
3228 ! ! date: Thu Jan 01 00:00:28 1970 +0000
3228 ! ! date: Thu Jan 01 00:00:28 1970 +0000
3229 ! ! summary: (28) merge zero known
3229 ! ! summary: (28) merge zero known
3230 ! /
3230 ! /
3231 o ! changeset: 26:7f25b6c2f0b9
3231 o ! changeset: 26:7f25b6c2f0b9
3232 !\ \ parent: 18:1aa84d96232a
3232 !\ \ parent: 18:1aa84d96232a
3233 ! ! ! parent: 25:91da8ed57247
3233 ! ! ! parent: 25:91da8ed57247
3234 ! ! ! user: test
3234 ! ! ! user: test
3235 ! ! ! date: Thu Jan 01 00:00:26 1970 +0000
3235 ! ! ! date: Thu Jan 01 00:00:26 1970 +0000
3236 ! ! ! summary: (26) merge one known; far right
3236 ! ! ! summary: (26) merge one known; far right
3237 ! ! !
3237 ! ! !
3238 ! o ! changeset: 25:91da8ed57247
3238 ! o ! changeset: 25:91da8ed57247
3239 ! !\! parent: 21:d42a756af44d
3239 ! !\! parent: 21:d42a756af44d
3240 ! ! ! parent: 24:a9c19a3d96b7
3240 ! ! ! parent: 24:a9c19a3d96b7
3241 ! ! ! user: test
3241 ! ! ! user: test
3242 ! ! ! date: Thu Jan 01 00:00:25 1970 +0000
3242 ! ! ! date: Thu Jan 01 00:00:25 1970 +0000
3243 ! ! ! summary: (25) merge one known; far left
3243 ! ! ! summary: (25) merge one known; far left
3244 ! ! !
3244 ! ! !
3245 ! o ! changeset: 24:a9c19a3d96b7
3245 ! o ! changeset: 24:a9c19a3d96b7
3246 ! !\ \ parent: 0:e6eb3150255d
3246 ! !\ \ parent: 0:e6eb3150255d
3247 ! ! ~ ! parent: 23:a01cddf0766d
3247 ! ! ~ ! parent: 23:a01cddf0766d
3248 ! ! ! user: test
3248 ! ! ! user: test
3249 ! ! ! date: Thu Jan 01 00:00:24 1970 +0000
3249 ! ! ! date: Thu Jan 01 00:00:24 1970 +0000
3250 ! ! ! summary: (24) merge one known; immediate right
3250 ! ! ! summary: (24) merge one known; immediate right
3251 ! ! /
3251 ! ! /
3252 ! o ! changeset: 23:a01cddf0766d
3252 ! o ! changeset: 23:a01cddf0766d
3253 ! !\ \ parent: 1:6db2ef61d156
3253 ! !\ \ parent: 1:6db2ef61d156
3254 ! ! ~ ! parent: 22:e0d9cccacb5d
3254 ! ! ~ ! parent: 22:e0d9cccacb5d
3255 ! ! ! user: test
3255 ! ! ! user: test
3256 ! ! ! date: Thu Jan 01 00:00:23 1970 +0000
3256 ! ! ! date: Thu Jan 01 00:00:23 1970 +0000
3257 ! ! ! summary: (23) merge one known; immediate left
3257 ! ! ! summary: (23) merge one known; immediate left
3258 ! ! /
3258 ! ! /
3259 ! o ! changeset: 22:e0d9cccacb5d
3259 ! o ! changeset: 22:e0d9cccacb5d
3260 !/!/ parent: 18:1aa84d96232a
3260 !/!/ parent: 18:1aa84d96232a
3261 ! ! parent: 21:d42a756af44d
3261 ! ! parent: 21:d42a756af44d
3262 ! ! user: test
3262 ! ! user: test
3263 ! ! date: Thu Jan 01 00:00:22 1970 +0000
3263 ! ! date: Thu Jan 01 00:00:22 1970 +0000
3264 ! ! summary: (22) merge two known; one far left, one far right
3264 ! ! summary: (22) merge two known; one far left, one far right
3265 ! !
3265 ! !
3266 ! o changeset: 21:d42a756af44d
3266 ! o changeset: 21:d42a756af44d
3267 ! !\ parent: 19:31ddc2c1573b
3267 ! !\ parent: 19:31ddc2c1573b
3268 ! ! ! parent: 20:d30ed6450e32
3268 ! ! ! parent: 20:d30ed6450e32
3269 ! ! ! user: test
3269 ! ! ! user: test
3270 ! ! ! date: Thu Jan 01 00:00:21 1970 +0000
3270 ! ! ! date: Thu Jan 01 00:00:21 1970 +0000
3271 ! ! ! summary: (21) expand
3271 ! ! ! summary: (21) expand
3272 ! ! !
3272 ! ! !
3273 +---o changeset: 20:d30ed6450e32
3273 +---o changeset: 20:d30ed6450e32
3274 ! ! | parent: 0:e6eb3150255d
3274 ! ! | parent: 0:e6eb3150255d
3275 ! ! ~ parent: 18:1aa84d96232a
3275 ! ! ~ parent: 18:1aa84d96232a
3276 ! ! user: test
3276 ! ! user: test
3277 ! ! date: Thu Jan 01 00:00:20 1970 +0000
3277 ! ! date: Thu Jan 01 00:00:20 1970 +0000
3278 ! ! summary: (20) merge two known; two far right
3278 ! ! summary: (20) merge two known; two far right
3279 ! !
3279 ! !
3280 ! o changeset: 19:31ddc2c1573b
3280 ! o changeset: 19:31ddc2c1573b
3281 ! |\ parent: 15:1dda3f72782d
3281 ! |\ parent: 15:1dda3f72782d
3282 ! ~ ~ parent: 17:44765d7c06e0
3282 ! ~ ~ parent: 17:44765d7c06e0
3283 ! user: test
3283 ! user: test
3284 ! date: Thu Jan 01 00:00:19 1970 +0000
3284 ! date: Thu Jan 01 00:00:19 1970 +0000
3285 ! summary: (19) expand
3285 ! summary: (19) expand
3286 !
3286 !
3287 o changeset: 18:1aa84d96232a
3287 o changeset: 18:1aa84d96232a
3288 |\ parent: 1:6db2ef61d156
3288 |\ parent: 1:6db2ef61d156
3289 ~ ~ parent: 15:1dda3f72782d
3289 ~ ~ parent: 15:1dda3f72782d
3290 user: test
3290 user: test
3291 date: Thu Jan 01 00:00:18 1970 +0000
3291 date: Thu Jan 01 00:00:18 1970 +0000
3292 summary: (18) merge two known; two far left
3292 summary: (18) merge two known; two far left
3293
3293
3294 $ cd ..
3294 $ cd ..
3295
3295
3296 Change graph shorten, test better with graphstyle.missing not none
3296 Change graph shorten, test better with graphstyle.missing not none
3297
3297
3298 $ cd repo
3298 $ cd repo
3299 $ cat << EOF >> $HGRCPATH
3299 $ cat << EOF >> $HGRCPATH
3300 > [experimental]
3300 > [experimental]
3301 > graphstyle.parent = |
3301 > graphstyle.parent = |
3302 > graphstyle.grandparent = :
3302 > graphstyle.grandparent = :
3303 > graphstyle.missing = '
3303 > graphstyle.missing = '
3304 > graphshorten = true
3304 > graphshorten = true
3305 > EOF
3305 > EOF
3306 $ hg log -G -r 'file("a")' -m -T '{rev} {desc}'
3306 $ hg log -G -r 'file("a")' -m -T '{rev} {desc}'
3307 @ 36 (36) buggy merge: identical parents
3307 @ 36 (36) buggy merge: identical parents
3308 o 32 (32) expand
3308 o 32 (32) expand
3309 |\
3309 |\
3310 o : 31 (31) expand
3310 o : 31 (31) expand
3311 |\:
3311 |\:
3312 o : 30 (30) expand
3312 o : 30 (30) expand
3313 |\ \
3313 |\ \
3314 o \ \ 28 (28) merge zero known
3314 o \ \ 28 (28) merge zero known
3315 |\ \ \
3315 |\ \ \
3316 o \ \ \ 26 (26) merge one known; far right
3316 o \ \ \ 26 (26) merge one known; far right
3317 |\ \ \ \
3317 |\ \ \ \
3318 | o-----+ 25 (25) merge one known; far left
3318 | o-----+ 25 (25) merge one known; far left
3319 | o ' ' : 24 (24) merge one known; immediate right
3319 | o ' ' : 24 (24) merge one known; immediate right
3320 | |\ \ \ \
3320 | |\ \ \ \
3321 | o---+ ' : 23 (23) merge one known; immediate left
3321 | o---+ ' : 23 (23) merge one known; immediate left
3322 | o-------+ 22 (22) merge two known; one far left, one far right
3322 | o-------+ 22 (22) merge two known; one far left, one far right
3323 |/ / / / /
3323 |/ / / / /
3324 | ' ' ' o 21 (21) expand
3324 | ' ' ' o 21 (21) expand
3325 | ' ' ' |\
3325 | ' ' ' |\
3326 +-+-------o 20 (20) merge two known; two far right
3326 +-+-------o 20 (20) merge two known; two far right
3327 | ' ' ' o 19 (19) expand
3327 | ' ' ' o 19 (19) expand
3328 | ' ' ' |\
3328 | ' ' ' |\
3329 o---+---+ | 18 (18) merge two known; two far left
3329 o---+---+ | 18 (18) merge two known; two far left
3330 / / / / /
3330 / / / / /
3331 ' ' ' | o 17 (17) expand
3331 ' ' ' | o 17 (17) expand
3332 ' ' ' | |\
3332 ' ' ' | |\
3333 +-+-------o 16 (16) merge two known; one immediate right, one near right
3333 +-+-------o 16 (16) merge two known; one immediate right, one near right
3334 ' ' ' o | 15 (15) expand
3334 ' ' ' o | 15 (15) expand
3335 ' ' ' |\ \
3335 ' ' ' |\ \
3336 +-------o | 14 (14) merge two known; one immediate right, one far right
3336 +-------o | 14 (14) merge two known; one immediate right, one far right
3337 ' ' ' | |/
3337 ' ' ' | |/
3338 ' ' ' o | 13 (13) expand
3338 ' ' ' o | 13 (13) expand
3339 ' ' ' |\ \
3339 ' ' ' |\ \
3340 ' +---+---o 12 (12) merge two known; one immediate right, one far left
3340 ' +---+---o 12 (12) merge two known; one immediate right, one far left
3341 ' ' ' | o 11 (11) expand
3341 ' ' ' | o 11 (11) expand
3342 ' ' ' | |\
3342 ' ' ' | |\
3343 +---------o 10 (10) merge two known; one immediate left, one near right
3343 +---------o 10 (10) merge two known; one immediate left, one near right
3344 ' ' ' | |/
3344 ' ' ' | |/
3345 ' ' ' o | 9 (9) expand
3345 ' ' ' o | 9 (9) expand
3346 ' ' ' |\ \
3346 ' ' ' |\ \
3347 +-------o | 8 (8) merge two known; one immediate left, one far right
3347 +-------o | 8 (8) merge two known; one immediate left, one far right
3348 ' ' ' |/ /
3348 ' ' ' |/ /
3349 ' ' ' o | 7 (7) expand
3349 ' ' ' o | 7 (7) expand
3350 ' ' ' |\ \
3350 ' ' ' |\ \
3351 ' ' ' +---o 6 (6) merge two known; one immediate left, one far left
3351 ' ' ' +---o 6 (6) merge two known; one immediate left, one far left
3352 ' ' ' | '/
3352 ' ' ' | '/
3353 ' ' ' o ' 5 (5) expand
3353 ' ' ' o ' 5 (5) expand
3354 ' ' ' |\ \
3354 ' ' ' |\ \
3355 ' +---o ' ' 4 (4) merge two known; one immediate left, one immediate right
3355 ' +---o ' ' 4 (4) merge two known; one immediate left, one immediate right
3356 ' ' ' '/ /
3356 ' ' ' '/ /
3357
3357
3358 behavior with newlines
3358 behavior with newlines
3359
3359
3360 $ hg log -G -r ::2 -T '{rev} {desc}'
3360 $ hg log -G -r ::2 -T '{rev} {desc}'
3361 o 2 (2) collapse
3361 o 2 (2) collapse
3362 o 1 (1) collapse
3362 o 1 (1) collapse
3363 o 0 (0) root
3363 o 0 (0) root
3364
3364
3365 $ hg log -G -r ::2 -T '{rev} {desc}\n'
3365 $ hg log -G -r ::2 -T '{rev} {desc}\n'
3366 o 2 (2) collapse
3366 o 2 (2) collapse
3367 o 1 (1) collapse
3367 o 1 (1) collapse
3368 o 0 (0) root
3368 o 0 (0) root
3369
3369
3370 $ hg log -G -r ::2 -T '{rev} {desc}\n\n'
3370 $ hg log -G -r ::2 -T '{rev} {desc}\n\n'
3371 o 2 (2) collapse
3371 o 2 (2) collapse
3372 |
3372 |
3373 o 1 (1) collapse
3373 o 1 (1) collapse
3374 |
3374 |
3375 o 0 (0) root
3375 o 0 (0) root
3376
3376
3377
3377
3378 $ hg log -G -r ::2 -T '\n{rev} {desc}'
3378 $ hg log -G -r ::2 -T '\n{rev} {desc}'
3379 o
3379 o
3380 | 2 (2) collapse
3380 | 2 (2) collapse
3381 o
3381 o
3382 | 1 (1) collapse
3382 | 1 (1) collapse
3383 o
3383 o
3384 0 (0) root
3384 0 (0) root
3385
3385
3386 $ hg log -G -r ::2 -T '{rev} {desc}\n\n\n'
3386 $ hg log -G -r ::2 -T '{rev} {desc}\n\n\n'
3387 o 2 (2) collapse
3387 o 2 (2) collapse
3388 |
3388 |
3389 |
3389 |
3390 o 1 (1) collapse
3390 o 1 (1) collapse
3391 |
3391 |
3392 |
3392 |
3393 o 0 (0) root
3393 o 0 (0) root
3394
3394
3395
3395
3396 $ cd ..
3396 $ cd ..
3397
3397
3398 When inserting extra line nodes to handle more than 2 parents, ensure that
3398 When inserting extra line nodes to handle more than 2 parents, ensure that
3399 the right node styles are used (issue5174):
3399 the right node styles are used (issue5174):
3400
3400
3401 $ hg init repo-issue5174
3401 $ hg init repo-issue5174
3402 $ cd repo-issue5174
3402 $ cd repo-issue5174
3403 $ echo a > f0
3403 $ echo a > f0
3404 $ hg ci -Aqm 0
3404 $ hg ci -Aqm 0
3405 $ echo a > f1
3405 $ echo a > f1
3406 $ hg ci -Aqm 1
3406 $ hg ci -Aqm 1
3407 $ echo a > f2
3407 $ echo a > f2
3408 $ hg ci -Aqm 2
3408 $ hg ci -Aqm 2
3409 $ hg co ".^"
3409 $ hg co ".^"
3410 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
3410 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
3411 $ echo a > f3
3411 $ echo a > f3
3412 $ hg ci -Aqm 3
3412 $ hg ci -Aqm 3
3413 $ hg co ".^^"
3413 $ hg co ".^^"
3414 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
3414 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
3415 $ echo a > f4
3415 $ echo a > f4
3416 $ hg ci -Aqm 4
3416 $ hg ci -Aqm 4
3417 $ hg merge -r 2
3417 $ hg merge -r 2
3418 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
3418 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
3419 (branch merge, don't forget to commit)
3419 (branch merge, don't forget to commit)
3420 $ hg ci -qm 5
3420 $ hg ci -qm 5
3421 $ hg merge -r 3
3421 $ hg merge -r 3
3422 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3422 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3423 (branch merge, don't forget to commit)
3423 (branch merge, don't forget to commit)
3424 $ hg ci -qm 6
3424 $ hg ci -qm 6
3425 $ hg log -G -r '0 | 1 | 2 | 6'
3425 $ hg log -G -r '0 | 1 | 2 | 6'
3426 @ changeset: 6:851fe89689ad
3426 @ changeset: 6:851fe89689ad
3427 :\ tag: tip
3427 :\ tag: tip
3428 : : parent: 5:4f1e3cf15f5d
3428 : : parent: 5:4f1e3cf15f5d
3429 : : parent: 3:b74ba7084d2d
3429 : : parent: 3:b74ba7084d2d
3430 : : user: test
3430 : : user: test
3431 : : date: Thu Jan 01 00:00:00 1970 +0000
3431 : : date: Thu Jan 01 00:00:00 1970 +0000
3432 : : summary: 6
3432 : : summary: 6
3433 : :
3433 : :
3434 : \
3434 : \
3435 : :\
3435 : :\
3436 : o : changeset: 2:3e6599df4cce
3436 : o : changeset: 2:3e6599df4cce
3437 : :/ user: test
3437 : :/ user: test
3438 : : date: Thu Jan 01 00:00:00 1970 +0000
3438 : : date: Thu Jan 01 00:00:00 1970 +0000
3439 : : summary: 2
3439 : : summary: 2
3440 : :
3440 : :
3441 : o changeset: 1:bd9a55143933
3441 : o changeset: 1:bd9a55143933
3442 :/ user: test
3442 :/ user: test
3443 : date: Thu Jan 01 00:00:00 1970 +0000
3443 : date: Thu Jan 01 00:00:00 1970 +0000
3444 : summary: 1
3444 : summary: 1
3445 :
3445 :
3446 o changeset: 0:870a5edc339c
3446 o changeset: 0:870a5edc339c
3447 user: test
3447 user: test
3448 date: Thu Jan 01 00:00:00 1970 +0000
3448 date: Thu Jan 01 00:00:00 1970 +0000
3449 summary: 0
3449 summary: 0
3450
3450
3451
3451
3452 $ cd ..
3452 $ cd ..
3453
3453
3454 Multiple roots (issue5440):
3454 Multiple roots (issue5440):
3455
3455
3456 $ hg init multiroots
3456 $ hg init multiroots
3457 $ cd multiroots
3457 $ cd multiroots
3458 $ cat <<EOF > .hg/hgrc
3458 $ cat <<EOF > .hg/hgrc
3459 > [ui]
3459 > [ui]
3460 > logtemplate = '{rev} {desc}\n\n'
3460 > logtemplate = '{rev} {desc}\n\n'
3461 > EOF
3461 > EOF
3462
3462
3463 $ touch foo
3463 $ touch foo
3464 $ hg ci -Aqm foo
3464 $ hg ci -Aqm foo
3465 $ hg co -q null
3465 $ hg co -q null
3466 $ touch bar
3466 $ touch bar
3467 $ hg ci -Aqm bar
3467 $ hg ci -Aqm bar
3468
3468
3469 $ hg log -Gr null:
3469 $ hg log -Gr null:
3470 @ 1 bar
3470 @ 1 bar
3471 |
3471 |
3472 | o 0 foo
3472 | o 0 foo
3473 |/
3473 |/
3474 o -1
3474 o -1
3475
3475
3476 $ hg log -Gr null+0
3476 $ hg log -Gr null+0
3477 o 0 foo
3477 o 0 foo
3478 |
3478 |
3479 o -1
3479 o -1
3480
3480
3481 $ hg log -Gr null+1
3481 $ hg log -Gr null+1
3482 @ 1 bar
3482 @ 1 bar
3483 |
3483 |
3484 o -1
3484 o -1
3485
3485
3486
3486
3487 $ cd ..
3487 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now