Debian Codegraph @

tests/hack3.repo/CVSROOT/taginfo

raw
1 # The "taginfo" file is used to control pre-tag checks.
2 # The filter on the right is invoked with the following arguments
3 # if no format strings are present:
4 #
5 # $1 -- tagname
6 # $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
7 # $3 -- tagtype "?" on delete, "T" for branch, "N" for static
8 # $4 -- repository
9 # $5-> file revision [file revision ...]
10 #
11 # If any format strings are present in the filter, they will be replaced
12 # as follows:
13 # %b = branch mode = "?" (delete ops - unknown) | "T" (branch)
14 # | "N" (not branch)
15 # %o = operation = "add" | "mov" | "del"
16 # %c = canonical name of the command being executed
17 # %I = unique (randomly generated) commit ID
18 # %R = the name of the referrer, if any, otherwise the value NONE
19 # %p = path relative to repository
20 # %r = repository (path portion of $CVSROOT)
21 # %t = tagname
22 # %{sVv} = attribute list = file name, old version tag will be deleted
23 # from, new version tag will be added to (or deleted from, but
24 # this feature is deprecated. When either old or new revision is
25 # unknown, doesn't exist, or isn't applicable, the string "NONE"
26 # will be placed on the command line.
27 #
28 # Note that %{sVv} is a list operator and not all elements are necessary.
29 # Thus %{sV} is a legal format string, but will only be replaced with file
30 # name and old revision. it also generates multiple arguments for each file
31 # being operated upon. i.e. if two files, file1 & file2, are having a tag
32 # moved from version 1.1 to version 1.1.2.9, %{sVv} will generate the
33 # following six arguments in this order:
34 # file1, 1.1, 1.1.2.9, file2, 1.1, 1.1.2.9.
35 #
36 # A non-zero exit of the filter program will cause the tag to be aborted.
37 #
38 # The first entry on a line is a regular expression which is tested
39 # against the directory that the change is being committed to, relative
40 # to the $CVSROOT. For the first match that is found, then the remainder
41 # of the line is the name of the filter to run.
42 #
43 # If the repository name does not match any of the regular expressions in this
44 # file, the "DEFAULT" line is used, if it is specified.
45 #
46 # If the name "ALL" appears as a regular expression it is always used
47 # in addition to the first matching regex or "DEFAULT".