contrib/dirstatenonnormalcheck.py
changeset 47942 3d2c17c5d7f2
parent 47941 50bed873a765
child 47943 91afee6f959e
equal deleted inserted replaced
47941:50bed873a765 47942:3d2c17c5d7f2
    57     if devel:
    57     if devel:
    58         extensions.wrapfunction(dirstatecl, '_writedirstate', _checkdirstate)
    58         extensions.wrapfunction(dirstatecl, '_writedirstate', _checkdirstate)
    59         if paranoid:
    59         if paranoid:
    60             # We don't do all these checks when paranoid is disable as it would
    60             # We don't do all these checks when paranoid is disable as it would
    61             # make the extension run very slowly on large repos
    61             # make the extension run very slowly on large repos
    62             extensions.wrapfunction(dirstatecl, 'otherparent', _checkdirstate)
       
    63             extensions.wrapfunction(dirstatecl, 'write', _checkdirstate)
    62             extensions.wrapfunction(dirstatecl, 'write', _checkdirstate)
    64             extensions.wrapfunction(dirstatecl, 'add', _checkdirstate)
    63             extensions.wrapfunction(dirstatecl, 'add', _checkdirstate)
    65             extensions.wrapfunction(dirstatecl, 'remove', _checkdirstate)
    64             extensions.wrapfunction(dirstatecl, 'remove', _checkdirstate)
    66             extensions.wrapfunction(dirstatecl, 'merge', _checkdirstate)
    65             extensions.wrapfunction(dirstatecl, 'merge', _checkdirstate)
    67             extensions.wrapfunction(dirstatecl, 'drop', _checkdirstate)
    66             extensions.wrapfunction(dirstatecl, 'drop', _checkdirstate)