Mercurial > hg
comparison tests/test-glog @ 10084:4c844f16bf39 stable
graphlog: fix output when both a limit and a path are provided
Limit was interpreted as absolute, from the topmost revision, without
counting the number of revisions matching a given file.
Which caused "glog -lN file" to show sometimes less than N csets if
the file was not modified in all of the N previous csets.
glog will now match the behavior of log.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Fri, 11 Dec 2009 15:25:33 +0900 |
parents | acb1c59b4514 |
children | 25430ff23cfa |
comparison
equal
deleted
inserted
replaced
10079:7f5a71946aaa | 10084:4c844f16bf39 |
---|---|
173 hg clone -U -r31 repo repo2 | 173 hg clone -U -r31 repo repo2 |
174 cd repo2 | 174 cd repo2 |
175 hg incoming --graph ../repo | 175 hg incoming --graph ../repo |
176 cd .. | 176 cd .. |
177 hg -R repo outgoing --graph repo2 | 177 hg -R repo outgoing --graph repo2 |
178 | |
179 cd repo | |
180 echo % file + limit with revs != cset revs | |
181 touch b | |
182 hg ci -Aqm0 | |
183 # this used to show only one cset | |
184 hg glog -l2 a | |
185 | |
186 echo "% file + limit + -ra:b, (b - a) < limit" | |
187 hg glog -l3000 -r32:tip a | |
188 | |
189 echo "% file + limit + -ra:b, b < tip" | |
190 hg glog -l1 -r32:34 a | |
191 | |
192 echo "% file + limit + -ra:b, b < tip, (b - a) < limit" | |
193 hg glog -l10 -r33:34 a |