##// END OF EJS Templates
log: use an exact matcher for --patch --follow...
Siddharth Agarwal -
r21878:e2530d4a default
parent child Browse files
Show More
@@ -1499,7 +1499,6 b' def _makelogfilematcher(repo, files, fol'
1499 1499 fcache = {}
1500 1500 fcacheready = [False]
1501 1501 pctx = repo['.']
1502 wctx = repo[None]
1503 1502
1504 1503 def populate():
1505 1504 for fn in files:
@@ -1512,7 +1511,7 b' def _makelogfilematcher(repo, files, fol'
1512 1511 # Lazy initialization
1513 1512 fcacheready[0] = True
1514 1513 populate()
1515 return scmutil.match(wctx, fcache.get(rev, []), default='path')
1514 return scmutil.matchfiles(repo, fcache.get(rev, []))
1516 1515
1517 1516 return filematcher
1518 1517
General Comments 0
You need to be logged in to leave comments. Login now