view contrib/revsetbenchmarks.txt @ 20838:fe849868fc5a

grep: exit loop immediately, if matching is found in the file for "hg grep -l" Before this patch, internal function "display()" of "hg grep" is not efficient for "-l"/"--files-with-matches", because loop is continued, even after the first matching is found in the specified file. This patch exits loop immediately, if matching is found for "--files-with-matches". In this case, "before is None" is equal to "opts.get('files_with_matches')".
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 15 Feb 2014 19:54:14 +0900
parents 77318d3c3b24
children c2a81aa19980
line wrap: on
line source

all()
draft()
::tip
draft() and ::tip
0::tip
roots(0::tip)
author(lmoscovicz)
author(mpm)
author(lmoscovicz) or author(mpm)
tip:0
max(tip:0)
min(0:tip)
0::
min(0::)