[PATCH 1 of 5] glog: restore multiple --rev test lost in rebasing
Patrick Mezard
patrick at mezard.eu
Sat Feb 25 21:17:41 UTC 2012
# HG changeset patch
# User Patrick Mezard <patrick at mezard.eu>
# Date 1330203073 -3600
# Node ID 3ab31d63dc9c5546201c22cef1b5c8b93b13b6ff
# Parent 94a8396c9305a72aaffd0a74a9a48b665dcb8e03
glog: restore multiple --rev test lost in rebasing
diff --git a/tests/test-glog.t b/tests/test-glog.t
--- a/tests/test-glog.t
+++ b/tests/test-glog.t
@@ -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
More information about the Mercurial-devel
mailing list