hgext/sparse.py
changeset 33551 1d1779734c99
parent 33496 258298f4712b
child 33685 e1c56486d1aa
equal deleted inserted replaced
33550:32f348d741e5 33551:1d1779734c99
    33 to include. e.g. ``%include tests.sparse``. The filename is relative
    33 to include. e.g. ``%include tests.sparse``. The filename is relative
    34 to the repository root.
    34 to the repository root.
    35 
    35 
    36 The special lines ``[include]`` and ``[exclude]`` denote the section
    36 The special lines ``[include]`` and ``[exclude]`` denote the section
    37 for includes and excludes that follow, respectively. It is illegal to
    37 for includes and excludes that follow, respectively. It is illegal to
    38 have ``[include]`` after ``[exclude]``. If no sections are defined,
    38 have ``[include]`` after ``[exclude]``.
    39 entries are assumed to be in the ``[include]`` section.
       
    40 
    39 
    41 Non-special lines resemble file patterns to be added to either includes
    40 Non-special lines resemble file patterns to be added to either includes
    42 or excludes. The syntax of these lines is documented by :hg:`help patterns`.
    41 or excludes. The syntax of these lines is documented by :hg:`help patterns`.
    43 Patterns are interpreted as ``glob:`` by default and match against the
    42 Patterns are interpreted as ``glob:`` by default and match against the
    44 root of the repository.
    43 root of the repository.