##// END OF EJS Templates
obsutil: use public interface to access to repo.ui
Yuya Nishihara -
r38605:79d7d715 default
parent child Browse files
Show More
@@ -395,7 +395,7 b' def _cmpdiff(leftctx, rightctx):'
395 395
396 396 This is a first and basic implementation, with many shortcoming.
397 397 """
398 diffopts = diffutil.diffopts(leftctx._repo.ui, {'git': True})
398 diffopts = diffutil.diffopts(leftctx.repo().ui, {'git': True})
399 399 # Leftctx or right ctx might be filtered, so we need to use the contexts
400 400 # with an unfiltered repository to safely compute the diff
401 401 leftunfi = leftctx._repo.unfiltered()[leftctx.rev()]
General Comments 0
You need to be logged in to leave comments. Login now