Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 38588:b62000a28812
diffutil: remove diffopts() in favor of diffallopts()
patch.diffopts() exists only for backward compatibility. We don't need it
in new module.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 06 Jul 2018 21:41:36 +0900 |
parents | 152f4822d210 |
children | 1c93e0237a24 |
line wrap: on
line diff
--- a/mercurial/revset.py Fri Jul 06 21:38:33 2018 +0900 +++ b/mercurial/revset.py Fri Jul 06 21:41:36 2018 +0900 @@ -1805,7 +1805,7 @@ 'substate': lambda r: repo[r].substate, 'summary': lambda r: repo[r].description().splitlines()[0], 'diff': lambda r: list(repo[r].diff( - opts=diffutil.diffopts(repo.ui, {'git': True}))), + opts=diffutil.diffallopts(repo.ui, {'git': True}))), } for info in fields: getfield = _funcs.get(info, None)