# HG changeset patch # User Siddharth Agarwal # Date 2014-08-13 22:15:13 # Node ID ac7a3b2a85e3b0be3871c4a95952b3b22c7743e9 # Parent 9ac98c2aa95cc0330d433d0ebf45daea99552a82 cmdutil: rename _makelogfilematcher to _makefollowlogfilematcher We're going to add a _makenofollowlogfilematcher in an upcoming patch. diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1492,7 +1492,7 @@ def walkchangerevs(repo, match, opts, pr return iterate() -def _makelogfilematcher(repo, files, followfirst): +def _makefollowlogfilematcher(repo, files, followfirst): # When displaying a revision with --patch --follow FILE, we have # to know which file of the revision must be diffed. With # --follow, we want the names of the ancestors of FILE in the @@ -1632,7 +1632,8 @@ def _makelogrevset(repo, pats, opts, rev if follow and not match.always(): # _makelogfilematcher expects its files argument to be relative to # the repo root, so use match.files(), not pats. - filematcher = _makelogfilematcher(repo, match.files(), followfirst) + filematcher = _makefollowlogfilematcher(repo, match.files(), + followfirst) else: filematcher = lambda rev: match