1425 > hg log -G --template 'nodetag {rev}\n' "$@" | grep nodetag \ |
1425 > hg log -G --template 'nodetag {rev}\n' "$@" | grep nodetag \ |
1426 > | sed 's/.*nodetag/nodetag/' > glog.nodes |
1426 > | sed 's/.*nodetag/nodetag/' > glog.nodes |
1427 > diff -u log.nodes glog.nodes |
1427 > diff -u log.nodes glog.nodes |
1428 > } |
1428 > } |
1429 |
1429 |
|
1430 glog always reorders nodes which explains the difference with log |
|
1431 |
|
1432 $ testlog -r 27 -r 25 -r 21 -r 34 -r 32 -r 31 |
|
1433 ('group', ('group', ('or', ('or', ('or', ('or', ('or', ('symbol', '27'), ('symbol', '25')), ('symbol', '21')), ('symbol', '34')), ('symbol', '32')), ('symbol', '31')))) |
|
1434 --- log.nodes * (glob) |
|
1435 +++ glog.nodes * (glob) |
|
1436 @@ -1,6 +1,6 @@ |
|
1437 -nodetag 27 |
|
1438 -nodetag 25 |
|
1439 -nodetag 21 |
|
1440 nodetag 34 |
|
1441 nodetag 32 |
|
1442 nodetag 31 |
|
1443 +nodetag 27 |
|
1444 +nodetag 25 |
|
1445 +nodetag 21 |
|
1446 [1] |
1430 $ testlog -u test -u not-a-user |
1447 $ testlog -u test -u not-a-user |
1431 ('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) |
1448 ('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) |
1432 $ testlog -b not-a-branch |
1449 $ testlog -b not-a-branch |
1433 ('group', ('group', ('func', ('symbol', 'branch'), ('string', 'not-a-branch')))) |
1450 ('group', ('group', ('func', ('symbol', 'branch'), ('string', 'not-a-branch')))) |
1434 abort: unknown revision 'not-a-branch'! |
1451 abort: unknown revision 'not-a-branch'! |