##// END OF EJS Templates
basectx: pass raw context objects to patch.diff
Sean Farley -
r21834:e4d35aa9 default
parent child Browse files
Show More
@@ -256,8 +256,7 b' class basectx(object):'
256 if ctx2 is not None:
256 if ctx2 is not None:
257 ctx2 = self._repo[ctx2]
257 ctx2 = self._repo[ctx2]
258 diffopts = patch.diffopts(self._repo.ui, opts)
258 diffopts = patch.diffopts(self._repo.ui, opts)
259 return patch.diff(self._repo, ctx2.node(), self.node(),
259 return patch.diff(self._repo, ctx2, self, match=match, opts=diffopts)
260 match=match, opts=diffopts)
261
260
262 @propertycache
261 @propertycache
263 def _dirs(self):
262 def _dirs(self):
General Comments 0
You need to be logged in to leave comments. Login now