Mercurial > hg
diff hgext/patchbomb.py @ 20287:f3cef19befb1
revset: avoid loop for "match.files()" having always one element for efficiency
This patch avoids the loop for "match.files()" having always one
element in revset predicate "filelog()" for efficiency: "match" object
"m" is constructed with "[pat]" as "patterns" argument.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 17 Jan 2014 23:42:12 +0900 |
parents | c80feeb715d1 |
children | 49f2d5644f04 |