##// END OF EJS Templates
py3: handle keyword arguments correctly in patch.py...
Pulkit Goyal -
r35367:dce76155 default
parent child Browse files
Show More
@@ -2466,8 +2466,8 b' def diffhunks(repo, node1=None, node2=No'
2466 def difflabel(func, *args, **kw):
2466 def difflabel(func, *args, **kw):
2467 '''yields 2-tuples of (output, label) based on the output of func()'''
2467 '''yields 2-tuples of (output, label) based on the output of func()'''
2468 inlinecolor = False
2468 inlinecolor = False
2469 if kw.get('opts'):
2469 if kw.get(r'opts'):
2470 inlinecolor = kw['opts'].worddiff
2470 inlinecolor = kw[r'opts'].worddiff
2471 headprefixes = [('diff', 'diff.diffline'),
2471 headprefixes = [('diff', 'diff.diffline'),
2472 ('copy', 'diff.extended'),
2472 ('copy', 'diff.extended'),
2473 ('rename', 'diff.extended'),
2473 ('rename', 'diff.extended'),
General Comments 0
You need to be logged in to leave comments. Login now