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, 'normallookup', _checkdirstate) |
62 extensions.wrapfunction(dirstatecl, 'normallookup', _checkdirstate) |
63 extensions.wrapfunction(dirstatecl, 'otherparent', _checkdirstate) |
63 extensions.wrapfunction(dirstatecl, 'otherparent', _checkdirstate) |
64 extensions.wrapfunction(dirstatecl, 'normal', _checkdirstate) |
|
65 extensions.wrapfunction(dirstatecl, 'write', _checkdirstate) |
64 extensions.wrapfunction(dirstatecl, 'write', _checkdirstate) |
66 extensions.wrapfunction(dirstatecl, 'add', _checkdirstate) |
65 extensions.wrapfunction(dirstatecl, 'add', _checkdirstate) |
67 extensions.wrapfunction(dirstatecl, 'remove', _checkdirstate) |
66 extensions.wrapfunction(dirstatecl, 'remove', _checkdirstate) |
68 extensions.wrapfunction(dirstatecl, 'merge', _checkdirstate) |
67 extensions.wrapfunction(dirstatecl, 'merge', _checkdirstate) |
69 extensions.wrapfunction(dirstatecl, 'drop', _checkdirstate) |
68 extensions.wrapfunction(dirstatecl, 'drop', _checkdirstate) |