Last modified 2 years ago
tntbase:validate property
This is a custom TNTBase property that can be set up via any SVN client on an arbitrary file or a folder in the xSVN working copy. Use svn propset tntbase:validate <value> <set_of_files_or_folders> to set this property. It can be set up on:
- Files. The tntbase:validate property set on the files has the form file_prop ::= (name)?(+name)*. Thus standard+mmt+krextor or schema are valid validation properties. The values between '+' signs denote method names.
- Folders. When set on the folder, it's of the form folder_prop ::= (file_pattern file_prop)* (file_prop)?), where file_pattern is the pattern that may contain * and ? (e.g. *lectures*.omdoc or *.?html). All files matched by a particular file pattern, will get the corresponding validation property (unless overridden) . If the last file_prop in the folder_prop is present, then all files that are not matched by previous file patterns, will get this default validation property. The folder validation property assigns a particular validation property to its files (recursively), unless this property is set somewhere down the directory tree.
Pre/post-commit hooks react on exactly one method name that can be situated in any position in the tntbase:validate property. For example, if a hook validates with method a name 'krextor', then the changed files with a property krextor, +krextor or mmt+krextor+jobad will be fetched by that hook.
