Skip to content
Snippets Groups Projects
Commit 79d7d715 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

obsutil: use public interface to access to repo.ui

parent 66eb74f9
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,7 @@
This is a first and basic implementation, with many shortcoming.
"""
diffopts = diffutil.diffopts(leftctx._repo.ui, {'git': True})
diffopts = diffutil.diffopts(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()]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment