Show More
@@ -1519,6 +1519,10 b' def _makefollowlogfilematcher(repo, file' | |||
|
1519 | 1519 | |
|
1520 | 1520 | return filematcher |
|
1521 | 1521 | |
|
1522 | def _makenofollowlogfilematcher(repo, pats, opts): | |
|
1523 | '''hook for extensions to override the filematcher for non-follow cases''' | |
|
1524 | return None | |
|
1525 | ||
|
1522 | 1526 | def _makelogrevset(repo, pats, opts, revs): |
|
1523 | 1527 | """Return (expr, filematcher) where expr is a revset string built |
|
1524 | 1528 | from log options and file patterns or None. If --stat or --patch |
@@ -1635,7 +1639,9 b' def _makelogrevset(repo, pats, opts, rev' | |||
|
1635 | 1639 | filematcher = _makefollowlogfilematcher(repo, match.files(), |
|
1636 | 1640 | followfirst) |
|
1637 | 1641 | else: |
|
1638 | filematcher = lambda rev: match | |
|
1642 | filematcher = _makenofollowlogfilematcher(repo, pats, opts) | |
|
1643 | if filematcher is None: | |
|
1644 | filematcher = lambda rev: match | |
|
1639 | 1645 | |
|
1640 | 1646 | expr = [] |
|
1641 | 1647 | for op, val in opts.iteritems(): |
General Comments 0
You need to be logged in to leave comments.
Login now