##// END OF EJS Templates
check-code: detect "% inside _()" when there are leading whitespaces...
check-code: detect "% inside _()" when there are leading whitespaces Before this patch, "contrib/check-code.py" can't detect "% inside _()" correctly, when there are leading whitespaces before the format string, like below: _( "format string %s" % v) This patch adds regexp pattern "[ \t\n]*" before the pattern matching against the format string. "[\s\n]" can't be used in this purpose, because "\s" is automatically replaced with "[ \t]" by "_preparepats()" and "\s" in "[]" causes nested "[]" unexpectedly.

File last commit:

r20894:04e1596d default
r21097:e8ef59b3 default
Show More
revsetbenchmarks.txt
16 lines | 217 B | text/plain | TextLexer
/ contrib / revsetbenchmarks.txt
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 all()
Lucas Moscovicz
contrib: added revset examples for benchmarking performance...
r20744 draft()
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 ::tip
Lucas Moscovicz
contrib: added revset examples for benchmarking performance...
r20744 draft() and ::tip
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 0::tip
Lucas Moscovicz
contrib: added revset examples for benchmarking performance...
r20744 roots(0::tip)
author(lmoscovicz)
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 author(mpm)
Lucas Moscovicz
contrib: added revset examples for benchmarking performance...
r20744 author(lmoscovicz) or author(mpm)
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 tip:0
Lucas Moscovicz
revset: changed minrev and maxrev implementations to use ordered sets...
r20754 max(tip:0)
min(0:tip)
Pierre-Yves David
benchmark-revset: add full version of benchmarked revset...
r20777 0::
Lucas Moscovicz
revset: changed minrev and maxrev implementations to use ordered sets...
r20754 min(0::)
Durham Goode
revset: improve _descendants performance...
r20894 roots((tip~100::) - (tip~100::tip))
Gregory Szorc
revsetbenchmark: add entry for ::rev::...
r20861 ::p1(p1(tip))::