Mercurial > public > mercurial-scm > hg-stable
diff mercurial/obsutil.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 | 79d7d715f3d0 |
children | 1c93e0237a24 |
line wrap: on
line diff
--- a/mercurial/obsutil.py Fri Jul 06 21:38:33 2018 +0900 +++ b/mercurial/obsutil.py Fri Jul 06 21:41:36 2018 +0900 @@ -395,7 +395,7 @@ This is a first and basic implementation, with many shortcoming. """ - diffopts = diffutil.diffopts(leftctx.repo().ui, {'git': True}) + diffopts = diffutil.diffallopts(leftctx.repo().ui, {'git': True}) # Leftctx or right ctx might be filtered, so we need to use the contexts # with an unfiltered repository to safely compute the diff leftunfi = leftctx._repo.unfiltered()[leftctx.rev()]