mercurial/dirstate.py
changeset 50156 7e6c5cfaba6a
parent 50155 4c67862a0c49
child 50157 fbb4c7117cf1
equal deleted inserted replaced
50155:4c67862a0c49 50156:7e6c5cfaba6a
    64     def join(self, obj, fname):
    64     def join(self, obj, fname):
    65         return obj._join(fname)
    65         return obj._join(fname)
    66 
    66 
    67 
    67 
    68 def check_invalidated(func):
    68 def check_invalidated(func):
    69     """check we func is called a non-invalidated dirstate
    69     """check that the func is called with a non-invalidated dirstate
    70 
    70 
    71     The dirstate is in an "invalidated state" after an error occured during its
    71     The dirstate is in an "invalidated state" after an error occured during its
    72     modification and remains so until we exited the top level scope that framed
    72     modification and remains so until we exited the top level scope that framed
    73     such change.
    73     such change.
    74     """
    74     """