##// END OF EJS Templates
revset: avoid loop for "match.files()" having always one element for efficiency...
FUJIWARA Katsunori -
r20287:f3cef19b default
parent child Browse files
Show More
@@ -722,10 +722,10 b' def filelog(repo, subset, x):'
722 s = set()
722 s = set()
723
723
724 if not matchmod.patkind(pat):
724 if not matchmod.patkind(pat):
725 for f in m.files():
725 f = m.files()[0]
726 fl = repo.file(f)
726 fl = repo.file(f)
727 for fr in fl:
727 for fr in fl:
728 s.add(fl.linkrev(fr))
728 s.add(fl.linkrev(fr))
729 else:
729 else:
730 for f in repo[None]:
730 for f in repo[None]:
731 if m(f):
731 if m(f):
General Comments 0
You need to be logged in to leave comments. Login now