hgext/fsmonitor/__init__.py
changeset 30332 318a24b52eeb
parent 29841 d5883fd055c6
child 30666 6ada1658fc6b
equal deleted inserted replaced
30331:b19291e5d506 30332:318a24b52eeb
   561             os.utime(os.path.dirname(link_name), None)
   561             os.utime(os.path.dirname(link_name), None)
   562         except OSError:
   562         except OSError:
   563             pass
   563             pass
   564 
   564 
   565 class state_update(object):
   565 class state_update(object):
   566     ''' This context mananger is responsible for dispatching the state-enter
   566     ''' This context manager is responsible for dispatching the state-enter
   567         and state-leave signals to the watchman service '''
   567         and state-leave signals to the watchman service '''
   568 
   568 
   569     def __init__(self, repo, node, distance, partial):
   569     def __init__(self, repo, node, distance, partial):
   570         self.repo = repo
   570         self.repo = repo
   571         self.node = node
   571         self.node = node