# HG changeset patch # User Patrick Mezard # Date 1330203073 -3600 # Node ID ef2373ea3d2498477151bdc4ceb09b672ef7d066 # Parent c12d4aceba79fddb3e02a0b1a07da5d9302671f7 glog: restore multiple --rev test lost in rebasing diff -r c12d4aceba79 -r ef2373ea3d24 tests/test-glog.t --- a/tests/test-glog.t Sat Feb 25 14:22:58 2012 -0600 +++ b/tests/test-glog.t Sat Feb 25 21:51:13 2012 +0100 @@ -1427,6 +1427,23 @@ > diff -u log.nodes glog.nodes > } +glog always reorders nodes which explains the difference with log + + $ testlog -r 27 -r 25 -r 21 -r 34 -r 32 -r 31 + ('group', ('group', ('or', ('or', ('or', ('or', ('or', ('symbol', '27'), ('symbol', '25')), ('symbol', '21')), ('symbol', '34')), ('symbol', '32')), ('symbol', '31')))) + --- log.nodes * (glob) + +++ glog.nodes * (glob) + @@ -1,6 +1,6 @@ + -nodetag 27 + -nodetag 25 + -nodetag 21 + nodetag 34 + nodetag 32 + nodetag 31 + +nodetag 27 + +nodetag 25 + +nodetag 21 + [1] $ testlog -u test -u not-a-user ('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) $ testlog -b not-a-branch