##// END OF EJS Templates
changectx: change diff() to accept keyword opts
Steve Borho -
r11106:213ca9ff default
parent child Browse files
Show More
@@ -204,7 +204,7 b' class changectx(object):'
204 def sub(self, path):
204 def sub(self, path):
205 return subrepo.subrepo(self, path)
205 return subrepo.subrepo(self, path)
206
206
207 def diff(self, ctx2=None, match=None, opts=None):
207 def diff(self, ctx2=None, match=None, **opts):
208 """Returns a diff generator for the given contexts and matcher"""
208 """Returns a diff generator for the given contexts and matcher"""
209 if ctx2 is None:
209 if ctx2 is None:
210 ctx2 = self.p1()
210 ctx2 = self.p1()
General Comments 0
You need to be logged in to leave comments. Login now