head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2004.05.02.08.35.31; author openpkg-cvs; state Exp; branches; next 1.2; 1.2 date 2001.08.29.15.27.46; author rse; state Exp; branches; next 1.1; 1.1 date 2001.02.05.11.35.30; author rse; state Exp; branches; next ; desc @@ 1.3 log @switch to new CVS 1.12 format string handling @ text @# 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". ALL $CVSROOT/CVSROOT/shiela --hook=taginfo %t %o %p %{sv} @ 1.2 log @Add Shiela -- CVS Access Control and Logging Facility @ text @d2 2 a3 1 # The filter on the right is invoked with the following arguments: d7 25 a31 2 # $3 -- repository # $4-> file revision [file revision ...] d46 1 a46 1 ALL $CVSROOT/CVSROOT/shiela --hook=taginfo @ 1.1 log @initial checkin @ text @d21 3 @