Commits

Anonymous committed 244032b

better graphlimit

Comments (0)

Files changed (1)

 diff --git a/tests/test-glog b/tests/test-glog
 --- a/tests/test-glog
 +++ b/tests/test-glog
-@@ -175,3 +175,10 @@
+@@ -175,3 +175,13 @@
  hg incoming --graph ../repo
  cd ..
  hg -R repo outgoing --graph repo2
 +
 +cd repo
-+echo % file + limit
++echo % file + limit with revs != cset revs
 +touch b
 +hg ci -Aqm0
 +# this used to show only one cset
 +hg glog -l2 a
++
++echo "% file + limit + -r, with len(revs) < limit"
++hg glog -l3000 -r32:tip a
 diff --git a/tests/test-glog.out b/tests/test-glog.out
 --- a/tests/test-glog.out
 +++ b/tests/test-glog.out
-@@ -643,3 +643,16 @@
+@@ -643,3 +643,36 @@
     date:        Thu Jan 01 00:00:27 1970 +0000
     summary:     (27) collapse
  
-+% file + limit
++% file + limit with revs != cset revs
 +o  changeset:   34:fea3ac5810e0
 +|  parent:      32:d06dffa21a31
 +|  user:        test
 +| |  date:        Thu Jan 01 00:00:33 1970 +0000
 +| |  summary:     (33) head
 +| |
++% file + limit + -r, with len(revs) < limit
++o  changeset:   34:fea3ac5810e0
++|  parent:      32:d06dffa21a31
++|  user:        test
++|  date:        Thu Jan 01 00:00:34 1970 +0000
++|  summary:     (34) head
++|
++| o  changeset:   33:68608f5145f9
++| |  parent:      18:1aa84d96232a
++| |  user:        test
++| |  date:        Thu Jan 01 00:00:33 1970 +0000
++| |  summary:     (33) head
++| |
++o |    changeset:   32:d06dffa21a31
++|\ \   parent:      27:886ed638191b
++| | |  parent:      31:621d83e11f67
++| | |  user:        test
++| | |  date:        Thu Jan 01 00:00:32 1970 +0000
++| | |  summary:     (32) expand
++| | |