18 |
18 |
19 def diffallopts(ui, opts=None, untrusted=False, section='diff'): |
19 def diffallopts(ui, opts=None, untrusted=False, section='diff'): |
20 '''return diffopts with all features supported and parsed''' |
20 '''return diffopts with all features supported and parsed''' |
21 return difffeatureopts(ui, opts=opts, untrusted=untrusted, section=section, |
21 return difffeatureopts(ui, opts=opts, untrusted=untrusted, section=section, |
22 git=True, whitespace=True, formatchanging=True) |
22 git=True, whitespace=True, formatchanging=True) |
23 |
|
24 diffopts = diffallopts |
|
25 |
23 |
26 def difffeatureopts(ui, opts=None, untrusted=False, section='diff', git=False, |
24 def difffeatureopts(ui, opts=None, untrusted=False, section='diff', git=False, |
27 whitespace=False, formatchanging=False): |
25 whitespace=False, formatchanging=False): |
28 '''return diffopts with only opted-in features parsed |
26 '''return diffopts with only opted-in features parsed |
29 |
27 |