changeset 16170:ef2373ea3d24

glog: restore multiple --rev test lost in rebasing
author Patrick Mezard <patrick@mezard.eu>
date Sat, 25 Feb 2012 21:51:13 +0100
parents c12d4aceba79
children 336e61875335
files tests/test-glog.t
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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