source: trunk/CVSROOT/posttag@ 13827

Last change on this file since 13827 was 9193, checked in by root, 16 years ago
initial checkin
File size: 1.9 KB
Line 
1# The "posttag" file is called after the "tag" command finishes
2# processing a directory.
3#
4# If any format strings are present in the filter, they will be replaced
5# as follows:
6# %b = branch mode = "?" (delete ops - unknown) | "T" (branch)
7# | "N" (not branch)
8# %o = operation = "add" | "mov" | "del"
9# %c = canonical name of the command being executed
10# %R = the name of the referrer, if any, otherwise the value NONE
11# %p = path relative to repository
12# %r = repository (path portion of $CVSROOT)
13# %t = tagname
14# %{sVv} = attribute list = file name, old version tag will be deleted
15# from, new version tag will be added to (or deleted from, but
16# this feature is deprecated. When either old or new revision is
17# unknown, doesn't exist, or isn't applicable, the string "NONE"
18# will be placed on the command line.
19#
20# Note that %{sVv} is a list operator and not all elements are necessary.
21# Thus %{sV} is a legal format string, but will only be replaced with file
22# name and old revision. it also generates multiple arguments for each file
23# being operated upon. i.e. if two files, file1 & file2, are having a tag
24# moved from version 1.1 to version 1.1.2.9, %{sVv} will generate the
25# following six arguments in this order:
26# file1, 1.1, 1.1.2.9, file2, 1.1, 1.1.2.9.
27#
28# The first entry on a line is a regular expression which is tested
29# against the directory that the change is being committed to, relative
30# to the $CVSROOT. For the first match that is found, then the remainder
31# of the line is the name of the filter to run.
32#
33# If the repository name does not match any of the regular expressions in this
34# file, the "DEFAULT" line is used, if it is specified.
35#
36# If the name "ALL" appears as a regular expression it is always used
37# in addition to the first matching regex or "DEFAULT".
Note: See TracBrowser for help on using the repository browser.