Show More
@@ -132,7 +132,7 b' class basectx(object):' | |||||
132 | """Returns a diff generator for the given contexts and matcher""" |
|
132 | """Returns a diff generator for the given contexts and matcher""" | |
133 | if ctx2 is None: |
|
133 | if ctx2 is None: | |
134 | ctx2 = self.p1() |
|
134 | ctx2 = self.p1() | |
135 |
if ctx2 is not None |
|
135 | if ctx2 is not None: | |
136 | ctx2 = self._repo[ctx2] |
|
136 | ctx2 = self._repo[ctx2] | |
137 | diffopts = patch.diffopts(self._repo.ui, opts) |
|
137 | diffopts = patch.diffopts(self._repo.ui, opts) | |
138 | return patch.diff(self._repo, ctx2.node(), self.node(), |
|
138 | return patch.diff(self._repo, ctx2.node(), self.node(), |
General Comments 0
You need to be logged in to leave comments.
Login now