##// END OF EJS Templates
py3: handle keyword arguments correctly in context.py...
Pulkit Goyal -
r35354:8384553b default
parent child Browse files
Show More
@@ -354,7 +354,7 b' class basectx(object):'
354 ctx2 = self.p1()
354 ctx2 = self.p1()
355 if ctx2 is not None:
355 if ctx2 is not None:
356 ctx2 = self._repo[ctx2]
356 ctx2 = self._repo[ctx2]
357 diffopts = patch.diffopts(self._repo.ui, opts)
357 diffopts = patch.diffopts(self._repo.ui, pycompat.byteskwargs(opts))
358 return patch.diff(self._repo, ctx2, self, match=match, opts=diffopts)
358 return patch.diff(self._repo, ctx2, self, match=match, opts=diffopts)
359
359
360 def dirs(self):
360 def dirs(self):
General Comments 0
You need to be logged in to leave comments. Login now