Show More
@@ -1492,7 +1492,7 def walkchangerevs(repo, match, opts, pr | |||||
1492 |
|
1492 | |||
1493 | return iterate() |
|
1493 | return iterate() | |
1494 |
|
1494 | |||
1495 | def _makelogfilematcher(repo, files, followfirst): |
|
1495 | def _makefollowlogfilematcher(repo, files, followfirst): | |
1496 | # When displaying a revision with --patch --follow FILE, we have |
|
1496 | # When displaying a revision with --patch --follow FILE, we have | |
1497 | # to know which file of the revision must be diffed. With |
|
1497 | # to know which file of the revision must be diffed. With | |
1498 | # --follow, we want the names of the ancestors of FILE in the |
|
1498 | # --follow, we want the names of the ancestors of FILE in the | |
@@ -1632,7 +1632,8 def _makelogrevset(repo, pats, opts, rev | |||||
1632 | if follow and not match.always(): |
|
1632 | if follow and not match.always(): | |
1633 | # _makelogfilematcher expects its files argument to be relative to |
|
1633 | # _makelogfilematcher expects its files argument to be relative to | |
1634 | # the repo root, so use match.files(), not pats. |
|
1634 | # the repo root, so use match.files(), not pats. | |
1635 |
filematcher = _makelogfilematcher(repo, match.files(), |
|
1635 | filematcher = _makefollowlogfilematcher(repo, match.files(), | |
|
1636 | followfirst) | |||
1636 | else: |
|
1637 | else: | |
1637 | filematcher = lambda rev: match |
|
1638 | filematcher = lambda rev: match | |
1638 |
|
1639 |
General Comments 0
You need to be logged in to leave comments.
Login now