comparison tests/test-revset.t @ 38479:72621094505f

revset: fix heads() order to always follow the input set (BC) An argument expression should never affect the order of the result set. That's the rule of the revset predicates.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 27 Jun 2018 23:39:41 +0900
parents b2d5ad03f31a
children 54d7aaa243cc
comparison
equal deleted inserted replaced
38478:b2d5ad03f31a 38479:72621094505f
1374 <not 1374 <not
1375 <filteredset 1375 <filteredset
1376 <baseset [9]>, set([0, 1, 2, 3, 4, 5, 6, 8])>>> 1376 <baseset [9]>, set([0, 1, 2, 3, 4, 5, 6, 8])>>>
1377 9 1377 9
1378 1378
1379 BROKEN: but should follow the order of the subset 1379 but should follow the order of the subset
1380 1380
1381 $ log 'heads(all())' 1381 $ log 'heads(all())'
1382 7 1382 7
1383 9 1383 9
1384 $ log 'heads(tip:0)' 1384 $ log 'heads(tip:0)'
1385 9 1385 7
1386 7 1386 9
1387 $ log 'tip:0 & heads(all())' 1387 $ log 'tip:0 & heads(all())'
1388 9 1388 9
1389 7 1389 7
1390 $ log 'tip:0 & heads(0:tip)' 1390 $ log 'tip:0 & heads(0:tip)'
1391 7 1391 9
1392 9 1392 7
1393 1393
1394 $ log 'keyword(issue)' 1394 $ log 'keyword(issue)'
1395 6 1395 6
1396 $ log 'keyword("test a")' 1396 $ log 'keyword("test a")'
1397 1397