diff -r de286200f722 -r 205c47e30a93 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Wed Aug 30 22:41:36 2017 +0900 +++ b/mercurial/cmdutil.py Wed Aug 30 22:51:28 2017 +0900 @@ -2559,7 +2559,7 @@ revs.sort(reverse=True) if expr: matcher = revset.match(repo.ui, expr) - revs = matcher(repo, revs, order=revset.followorder) + revs = matcher(repo, revs) if limit is not None: limitedrevs = [] for idx, rev in enumerate(revs): @@ -2585,7 +2585,7 @@ expr, filematcher = _makelogrevset(repo, pats, opts, revs) if expr: matcher = revset.match(repo.ui, expr) - revs = matcher(repo, revs, order=revset.followorder) + revs = matcher(repo, revs) if limit is not None: limitedrevs = [] for idx, r in enumerate(revs):