Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The PATTERN can be recursive and non-recursive.

    • A PATTERN is treated as recursive if it doesn't contain slashes "/". SubGit will recursively search all specified trunk, branches and tags directories and exclude all files whose names match to the PATTERN.

      A recursive example:

          excludePath = *.html

      SubGit will exclude all the *.html files in all the mapped directories.
       
    • A PATTERN is treated as non-recursive if it does contain one or more slashes "/". SubGit will exclude any files in trunk, branches and tags directories, paths to which match to the PATTERN.

      A non-recursive example:

          excludePath = */*.html

      SubGit will search for *.html files in second level directories within trunk, branches and tags directories, i.e. it will exclude the following files:

      No Format
      nopaneltrue
      http://example.com/svn/project/trunk/*/*.html
                http://example.com/svn/project/branches/*/*/*.html
                http://example.com/svn/project/tags/*/*/*.html
  2. A particular non-recursive PATTERN case with leading slash "/" represents a particular path to be excluded or included. E.g., if standard SVN project layout is used and svn.url is set to the following:
  3. Trailing slash "/" in non-recursive PATTERN is not allowed.
  4. A wildcard "*" means as any number of legal symbols. It can be used both in recursive or non-recursive patterns.
  5. A question mark "?" means any one legal symbol. It can be used both in recursive or non-recursive patterns.
  6. Brackets "[ ]" set a list of possible characters in the PATTERN:
  7. Spaces within the PATTERN are allowed:
  8. Two consecutive asterisks "**" in non-recursive PATTERN mean path of any length. That is, the PATTERN with leading asterisks:

...