##// 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 722 s = set()
723 723
724 724 if not matchmod.patkind(pat):
725 for f in m.files():
726 fl = repo.file(f)
727 for fr in fl:
728 s.add(fl.linkrev(fr))
725 f = m.files()[0]
726 fl = repo.file(f)
727 for fr in fl:
728 s.add(fl.linkrev(fr))
729 729 else:
730 730 for f in repo[None]:
731 731 if m(f):
General Comments 0
You need to be logged in to leave comments. Login now