Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 35548:b14c8bcfbad9
log: drop unused expr from return value of getlogrevs()
Future patches will move some processing of the --follow option out of
_makelogrevset(), where the returned 'expr' value will be less consistent
with the 'revs'. So let's remove it from the public interface.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 22 Oct 2017 22:49:11 +0900 |
parents | 349bcd7fa670 |
children | dda3cae3c9c5 |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Jan 04 12:00:18 2018 +0900 +++ b/mercurial/commands.py Sun Oct 22 22:49:11 2017 +0900 @@ -3410,7 +3410,7 @@ del opts['follow'] repo = scmutil.unhidehashlikerevs(repo, opts.get('rev'), 'nowarn') - revs, expr, filematcher = cmdutil.getlogrevs(repo, pats, opts) + revs, filematcher = cmdutil.getlogrevs(repo, pats, opts) hunksfilter = None if opts.get('graph'):