##// END OF EJS Templates
test-revset: show that order of heads() can be wrong
Yuya Nishihara -
r38497:b2d5ad03 default
parent child Browse files
Show More
@@ -1357,8 +1357,40 b' test author'
1357 1357 6
1358 1358 7
1359 1359 9
1360
1361 Test heads
1362
1360 1363 $ log 'heads(6::)'
1361 1364 7
1365
1366 heads() can be computed in subset '9:'
1367
1368 $ hg debugrevspec -s '9: & heads(all())'
1369 * set:
1370 <filteredset
1371 <filteredset
1372 <baseset [9]>,
1373 <spanset+ 0:10>>,
1374 <not
1375 <filteredset
1376 <baseset [9]>, set([0, 1, 2, 3, 4, 5, 6, 8])>>>
1377 9
1378
1379 BROKEN: but should follow the order of the subset
1380
1381 $ log 'heads(all())'
1382 7
1383 9
1384 $ log 'heads(tip:0)'
1385 9
1386 7
1387 $ log 'tip:0 & heads(all())'
1388 9
1389 7
1390 $ log 'tip:0 & heads(0:tip)'
1391 7
1392 9
1393
1362 1394 $ log 'keyword(issue)'
1363 1395 6
1364 1396 $ log 'keyword("test a")'
General Comments 0
You need to be logged in to leave comments. Login now