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