##// END OF EJS Templates
_makelogrevset: avoid match.files() in conditions...
Martin von Zweigbergk -
r25273:8e0e334b default
parent child Browse files
Show More
@@ -1951,7 +1951,8 b' def _makelogrevset(repo, pats, opts, rev'
1951 # platforms without shell expansion (windows).
1951 # platforms without shell expansion (windows).
1952 wctx = repo[None]
1952 wctx = repo[None]
1953 match, pats = scmutil.matchandpats(wctx, pats, opts)
1953 match, pats = scmutil.matchandpats(wctx, pats, opts)
1954 slowpath = match.anypats() or (match.files() and opts.get('removed'))
1954 slowpath = match.anypats() or ((match.isexact() or match.prefix()) and
1955 opts.get('removed'))
1955 if not slowpath:
1956 if not slowpath:
1956 for f in match.files():
1957 for f in match.files():
1957 if follow and f not in wctx:
1958 if follow and f not in wctx:
General Comments 0
You need to be logged in to leave comments. Login now