mercurial/utils/diffutil.py
changeset 38587 b62000a28812
parent 38562 c88d2c9b00dd
equal deleted inserted replaced
38586:79d7d715f3d0 38587:b62000a28812
    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