Annotation of CVSROOT/taginfo, revision 1.1

1.1     ! nick        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: #    %R = the name of the referrer, if any, otherwise the value NONE
        !            18: #    %p = path relative to repository
        !            19: #    %r = repository (path portion of $CVSROOT)
        !            20: #    %t = tagname
        !            21: #    %{sVv} = attribute list = file name, old version tag will be deleted
        !            22: #             from, new version tag will be added to (or deleted from, but
        !            23: #             this feature is deprecated.  When either old or new revision is
        !            24: #             unknown, doesn't exist, or isn't applicable, the string "NONE"
        !            25: #             will be placed on the command line.
        !            26: #
        !            27: # Note that %{sVv} is a list operator and not all elements are necessary.
        !            28: # Thus %{sV} is a legal format string, but will only be replaced with file
        !            29: # name and old revision. it also generates multiple arguments for each file
        !            30: # being operated upon.  i.e. if two files, file1 & file2, are having a tag
        !            31: # moved from version 1.1 to version 1.1.2.9, %{sVv} will generate the
        !            32: # following six arguments in this order:
        !            33: # file1, 1.1, 1.1.2.9, file2, 1.1, 1.1.2.9.
        !            34: #
        !            35: # A non-zero exit of the filter program will cause the tag to be aborted.
        !            36: #
        !            37: # The first entry on a line is a regular expression which is tested
        !            38: # against the directory that the change is being committed to, relative
        !            39: # to the $CVSROOT.  For the first match that is found, then the remainder
        !            40: # of the line is the name of the filter to run.
        !            41: #
        !            42: # If the repository name does not match any of the regular expressions in this
        !            43: # file, the "DEFAULT" line is used, if it is specified.
        !            44: #
        !            45: # If the name "ALL" appears as a regular expression it is always used
        !            46: # in addition to the first matching regex or "DEFAULT".

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>