mercurial/interfaces/dirstate.py
changeset 43008 5f8b6617e962
parent 42929 97b79354e9f0
child 43076 2372284d9457
equal deleted inserted replaced
43007:f1dffb37f27c 43008:5f8b6617e962
    20         the dirstate.
    20         the dirstate.
    21         '''
    21         '''
    22 
    22 
    23     # TODO: all these private methods and attributes should be made
    23     # TODO: all these private methods and attributes should be made
    24     # public or removed from the interface.
    24     # public or removed from the interface.
    25     _ignore = interfaceutil.Attribute('Matcher for ignored files.')
    25     _ignore = interfaceutil.Attribute("""Matcher for ignored files.""")
    26 
    26 
    27     def _ignorefiles():
    27     def _ignorefiles():
    28         """Return a list of files containing patterns to ignore."""
    28         """Return a list of files containing patterns to ignore."""
    29 
    29 
    30     def _ignorefileandline(f):
    30     def _ignorefileandline(f):
    31         "Given a file `f`, return the ignore file and line that ignores it."
    31         "Given a file `f`, return the ignore file and line that ignores it."
    32 
    32 
    33     _checklink = interfaceutil.Attribute('Callable for checking symlinks.')
    33     _checklink = interfaceutil.Attribute("""Callable for checking symlinks.""")
    34     _checkexec = interfaceutil.Attribute('Callable for checking exec bits.')
    34     _checkexec = interfaceutil.Attribute("""Callable for checking exec bits.""")
    35 
    35 
    36     @contextlib.contextmanager
    36     @contextlib.contextmanager
    37     def parentchange():
    37     def parentchange():
    38         '''Context manager for handling dirstate parents.
    38         '''Context manager for handling dirstate parents.
    39 
    39