From 2a77a7377909e28c2f58374c57ea0e2b77c2ed2b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 16 Oct 2008 13:00:46 +0000 Subject: [PATCH] experimental local CVS repository as a testbed for CVS tests git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@705232 13f79535-47bb-0310-9956-ffa450edef68 --- .../cvs/repository/CVSROOT/.#checkoutlist | 13 ++ .../cvs/repository/CVSROOT/.#commitinfo | 26 ++++ .../taskdefs/cvs/repository/CVSROOT/.#config | 97 ++++++++++++++ .../cvs/repository/CVSROOT/.#cvswrappers | 19 +++ .../taskdefs/cvs/repository/CVSROOT/.#loginfo | 36 ++++++ .../taskdefs/cvs/repository/CVSROOT/.#modules | 26 ++++ .../taskdefs/cvs/repository/CVSROOT/.#notify | 19 +++ .../cvs/repository/CVSROOT/.#postadmin | 20 +++ .../cvs/repository/CVSROOT/.#postproxy | 22 ++++ .../taskdefs/cvs/repository/CVSROOT/.#posttag | 37 ++++++ .../cvs/repository/CVSROOT/.#postwatch | 20 +++ .../cvs/repository/CVSROOT/.#preproxy | 24 ++++ .../taskdefs/cvs/repository/CVSROOT/.#rcsinfo | 13 ++ .../taskdefs/cvs/repository/CVSROOT/.#taginfo | 46 +++++++ .../cvs/repository/CVSROOT/.#verifymsg | 31 +++++ .../cvs/repository/CVSROOT/checkoutlist | 13 ++ .../cvs/repository/CVSROOT/checkoutlist,v | 37 ++++++ .../cvs/repository/CVSROOT/commitinfo | 26 ++++ .../cvs/repository/CVSROOT/commitinfo,v | 50 ++++++++ .../taskdefs/cvs/repository/CVSROOT/config | 97 ++++++++++++++ .../taskdefs/cvs/repository/CVSROOT/config,v | 121 ++++++++++++++++++ .../cvs/repository/CVSROOT/cvswrappers | 19 +++ .../cvs/repository/CVSROOT/cvswrappers,v | 43 +++++++ .../taskdefs/cvs/repository/CVSROOT/history | 1 + .../taskdefs/cvs/repository/CVSROOT/loginfo | 36 ++++++ .../taskdefs/cvs/repository/CVSROOT/loginfo,v | 60 +++++++++ .../taskdefs/cvs/repository/CVSROOT/modules | 26 ++++ .../taskdefs/cvs/repository/CVSROOT/modules,v | 50 ++++++++ .../taskdefs/cvs/repository/CVSROOT/notify | 19 +++ .../taskdefs/cvs/repository/CVSROOT/notify,v | 43 +++++++ .../taskdefs/cvs/repository/CVSROOT/postadmin | 20 +++ .../cvs/repository/CVSROOT/postadmin,v | 44 +++++++ .../taskdefs/cvs/repository/CVSROOT/postproxy | 22 ++++ .../cvs/repository/CVSROOT/postproxy,v | 46 +++++++ .../taskdefs/cvs/repository/CVSROOT/posttag | 37 ++++++ .../taskdefs/cvs/repository/CVSROOT/posttag,v | 61 +++++++++ .../taskdefs/cvs/repository/CVSROOT/postwatch | 20 +++ .../cvs/repository/CVSROOT/postwatch,v | 44 +++++++ .../taskdefs/cvs/repository/CVSROOT/preproxy | 24 ++++ .../cvs/repository/CVSROOT/preproxy,v | 48 +++++++ .../taskdefs/cvs/repository/CVSROOT/rcsinfo | 13 ++ .../taskdefs/cvs/repository/CVSROOT/rcsinfo,v | 37 ++++++ .../taskdefs/cvs/repository/CVSROOT/taginfo | 46 +++++++ .../taskdefs/cvs/repository/CVSROOT/taginfo,v | 70 ++++++++++ .../taskdefs/cvs/repository/CVSROOT/val-tags | 0 .../taskdefs/cvs/repository/CVSROOT/verifymsg | 31 +++++ .../cvs/repository/CVSROOT/verifymsg,v | 55 ++++++++ .../cvs/repository/antmodule1/foo.txt,v | 42 ++++++ 48 files changed, 1750 insertions(+) create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#checkoutlist create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#commitinfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#config create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#cvswrappers create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#loginfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#modules create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#notify create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postadmin create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postproxy create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#posttag create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postwatch create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#preproxy create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#rcsinfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#taginfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#verifymsg create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/history create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/val-tags create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg create mode 100644 src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg,v create mode 100644 src/tests/antunit/taskdefs/cvs/repository/antmodule1/foo.txt,v diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#checkoutlist b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#checkoutlist new file mode 100644 index 000000000..2921bffcd --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#checkoutlist @@ -0,0 +1,13 @@ +# The "checkoutlist" file is used to support additional version controlled +# administrative files in $CVSROOT/CVSROOT, such as template files. +# +# The first entry on a line is a filename which will be checked out from +# the corresponding RCS file in the $CVSROOT/CVSROOT directory. +# The remainder of the line is an error message to use if the file cannot +# be checked out. +# +# File format: +# +# [][] +# +# comment lines begin with '#' diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#commitinfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#commitinfo new file mode 100644 index 000000000..3903ceecf --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#commitinfo @@ -0,0 +1,26 @@ +# The "commitinfo" file is used to control pre-commit checks. +# The filter on the right is invoked with the repository and a list +# of files to check. A non-zero exit of the filter program will +# cause the commit 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. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{s} = file name, file name, ... +# +# If no format strings are present in the filter string, a default of +# " %r %s" will be appended to the filter string, but this usage is +# deprecated. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#config b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#config new file mode 100644 index 000000000..50d85b5f6 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#config @@ -0,0 +1,97 @@ +# Set `SystemAuth' to `no' if pserver shouldn't check system users/passwords. +#SystemAuth=no + +# Set `LocalKeyword' to specify a local alias for a standard keyword. +#LocalKeyword=MYCVS=CVSHeader + +# Set `KeywordExpand' to `i' followed by a list of keywords to expand or +# `e' followed by a list of keywords to not expand. +#KeywordExpand=iMYCVS,Name,Date +#KeywordExpand=eCVSHeader + +# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top +# level of the new working directory when using the `cvs checkout' +# command. +#TopLevelAdmin=no + +# Put CVS lock files in this directory rather than directly in the repository. +#LockDir=/var/lock/cvs + +# Set `LogHistory' to `all' or `TOEFWUPCGMAR' to log all transactions to the +# history file, or a subset as needed (ie `TMAR' logs all write operations) +#LogHistory=TOEFWUPCGMAR + +# Set `RereadLogAfterVerify' to `always' (the default) to allow the verifymsg +# script to change the log message. Set it to `stat' to force CVS to verify +# that the file has changed before reading it (this can take up to an extra +# second per directory being committed, so it is not recommended for large +# repositories. Set it to `never' (the previous CVS behavior) to prevent +# verifymsg scripts from changing the log message. +#RereadLogAfterVerify=always + +# Set `UserAdminOptions' to the list of `cvs admin' commands (options) +# that users not in the `cvsadmin' group are allowed to run. This +# defaults to `k', or only allowing the changing of the default +# keyword expansion mode for files for users not in the `cvsadmin' group. +# This value is ignored if the `cvsadmin' group does not exist. +# +# The following string would enable all `cvs admin' commands for all +# users: +#UserAdminOptions=aAbceIklLmnNostuU + +# Set `UseNewInfoFmtStrings' to `no' if you must support a legacy system by +# enabling the deprecated old style info file command line format strings. +# Be warned that these strings could be disabled in any new version of CVS. +UseNewInfoFmtStrings=yes + +# Set `ImportNewFilesToVendorBranchOnly' to `yes' if you wish to force +# every `cvs import' command to behave as if the `-X' flag was +# specified. +#ImportNewFilesToVendorBranchOnly=no + +# Set `PrimaryServer' to the CVSROOT to the primary, or write, server when +# establishing one or more read-only mirrors which serve as proxies for +# the write server in write mode or redirect the client to the primary for +# write requests. +# +# For example: +# +# PrimaryServer=:fork:localhost/cvsroot + +# Set `MaxProxyBufferSize' to the the maximum allowable secondary +# buffer memory cache size before the buffer begins being stored to disk, in +# bytes. Must be a positive integer but may end in `k', `M', `G', or `T' (for +# kiilo, mega, giga, & tera, respectively). If an otherwise valid number you +# specify is greater than the SIZE_MAX defined by your system's C compiler, +# then it will be resolved to SIZE_MAX without a warning. Defaults to 8M (8 +# megabytes). +# +# High values for MaxProxyBufferSize may speed up a secondary server +# with old hardware and a lot of available memory but can actually slow a +# modern system down slightly. +# +# For example: +# +# MaxProxyBufferSize=1G + +# Set `MaxCommentLeaderLength' to the maximum length permitted for the +# automagically determined comment leader used when expanding the Log +# keyword, in bytes. CVS's behavior when the automagically determined +# comment leader exceeds this length is dependant on the value of +# `UseArchiveCommentLeader' set in this file. `unlimited' is a valid +# setting for this value. Defaults to 20 bytes. +# +# For example: +# +# MaxCommentLeaderLength=20 + +# Set `UseArchiveCommentLeader' to `yes' to cause CVS to fall back on +# the comment leader set in the RCS archive file, if any, when the +# automagically determined comment leader exceeds `MaxCommentLeaderLength' +# bytes. If `UseArchiveCommentLeader' is not set and a comment leader +# greater than `MaxCommentLeaderLength' is calculated, the Log keyword +# being examined will not be expanded. Defaults to `no'. +# +# For example: +# +# UseArchiveCommentLeader=no diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#cvswrappers b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#cvswrappers new file mode 100644 index 000000000..e989b7545 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#cvswrappers @@ -0,0 +1,19 @@ +# This file affects handling of files based on their names. +# +# The -m option specifies whether CVS attempts to merge files. +# +# The -k option specifies keyword expansion (e.g. -kb for binary). +# +# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers) +# +# wildcard [option value][option value]... +# +# where option is one of +# -f from cvs filter value: path to filter +# -t to cvs filter value: path to filter +# -m update methodology value: MERGE or COPY +# -k expansion mode value: b, o, kkv, &c +# +# and value is a single-quote delimited value. +# For example: +#*.gif -k 'b' diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#loginfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#loginfo new file mode 100644 index 000000000..6a1580d82 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#loginfo @@ -0,0 +1,36 @@ +# The "loginfo" file controls where "cvs commit" log information is +# sent. The first entry on a line is a regular expression which must +# match the directory that the change is being made to, relative to the +# $CVSROOT. If a match is found, then the remainder of the line is a +# filter program that should expect log information on its standard input. +# +# 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. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{sVv} = attribute list = file name, old version number (pre-checkin), +# new version number (post-checkin). 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 instead. +# +# 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 new revision. +# It also generates multiple arguments for each file being operated upon. +# That is, if two files, file1 & file2, are being commited from 1.1 to +# version 1.1.2.1 and from 1.1.2.2 to 1.1.2.3, respectively, %{sVv} will +# generate the following six arguments in this order: +# file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3. +# +# For example: +#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog +# or +#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#modules b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#modules new file mode 100644 index 000000000..cb9e9efc9 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#modules @@ -0,0 +1,26 @@ +# Three different line formats are valid: +# key -a aliases... +# key [options] directory +# key [options] directory files... +# +# Where "options" are composed of: +# -i prog Run "prog" on "cvs commit" from top-level of module. +# -o prog Run "prog" on "cvs checkout" of module. +# -e prog Run "prog" on "cvs export" of module. +# -t prog Run "prog" on "cvs rtag" of module. +# -u prog Run "prog" on "cvs update" of module. +# -d dir Place module in directory "dir" instead of module name. +# -l Top-level directory only -- do not recurse. +# +# NOTE: If you change any of the "Run" options above, you'll have to +# release and re-checkout any working directories of these modules. +# +# And "directory" is a path to a directory relative to $CVSROOT. +# +# The "-a" option specifies an alias. An alias is interpreted as if +# everything on the right of the "-a" had been typed on the command line. +# +# You can encode a module within a module by using the special '&' +# character to interpose another module into the current module. This +# can be useful for creating a module that consists of many directories +# spread out over the entire source repository. diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#notify b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#notify new file mode 100644 index 000000000..aaf98c599 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#notify @@ -0,0 +1,19 @@ +# The "notify" file controls where notifications from watches set by +# "cvs watch add" or "cvs edit" are sent. The first entry on a line is +# a regular expression which is tested against the directory that the +# change is being made to, relative to the $CVSROOT. If it matches, +# then the remainder of the line is a filter program that should contain +# one occurrence of %s for the user to notify, and information on its +# standard input. +# +# "ALL" or "DEFAULT" can be used in place of the regular expression. +# +# format strings are replaceed as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %s = user to notify +# +# For example: +#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification" diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postadmin b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postadmin new file mode 100644 index 000000000..a1a081281 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postadmin @@ -0,0 +1,20 @@ +# The "postadmin" file is called after the "admin" command finishes +# processing a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postproxy b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postproxy new file mode 100644 index 000000000..49c6cfb01 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postproxy @@ -0,0 +1,22 @@ +# The "postproxy" file is called from a secondary server as soon as +# the secondary server closes its connection to the primary server. +# This script might, for example, be used to shut down a dial up +# or VPN connection to the primary server's network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#posttag b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#posttag new file mode 100644 index 000000000..7f369e388 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#posttag @@ -0,0 +1,37 @@ +# The "posttag" file is called after the "tag" command finishes +# processing a directory. +# +# 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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postwatch b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postwatch new file mode 100644 index 000000000..5b001b123 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#postwatch @@ -0,0 +1,20 @@ +# The "postwatch" file is called after any command finishes writing new +# file attibute (watch/edit) information in a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#preproxy b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#preproxy new file mode 100644 index 000000000..a9f514f48 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#preproxy @@ -0,0 +1,24 @@ +# The "preproxy" file is called form the secondary server as soon as +# the secondary server determines that it will be proxying a write +# command to a primary server and immediately before it opens a +# connection to the primary server. This script might, for example, be +# used to launch a dial up or VPN connection to the primary server's +# network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#rcsinfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#rcsinfo new file mode 100644 index 000000000..49e59f4d0 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#rcsinfo @@ -0,0 +1,13 @@ +# The "rcsinfo" file is used to control templates with which the editor +# is invoked on commit and import. +# +# The first entry on a line is a regular expression which is tested +# against the directory that the change is being made to, relative to the +# $CVSROOT. For the first match that is found, then the remainder of the +# line is the name of the file that contains the template. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#taginfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#taginfo new file mode 100644 index 000000000..ce9d0deaf --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#taginfo @@ -0,0 +1,46 @@ +# 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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#verifymsg b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#verifymsg new file mode 100644 index 000000000..357a0b035 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/.#verifymsg @@ -0,0 +1,31 @@ +# The "verifymsg" file is used to allow verification of logging +# information. It works best when a template (as specified in the +# rcsinfo file) is provided for the logging procedure. Given a +# template with locations for, a bug-id number, a list of people who +# reviewed the code before it can be checked in, and an external +# process to catalog the differences that were code reviewed, the +# following test can be applied to the code: +# +# Making sure that the entered bug-id number is correct. +# Validating that the code that was reviewed is indeed the code being +# checked in (using the bug-id number or a seperate review +# number to identify this particular code set.). +# +# If any of the above test failed, then the commit would be aborted. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %l = name of log file to be verified. +# +# If no format strings are present in the filter, a default " %l" will +# be appended to the filter, but this usage is deprecated. +# +# Actions such as mailing a copy of the report to each reviewer are +# better handled by an entry in the loginfo file. +# +# One thing that should be noted is the the ALL keyword is not +# supported. There can be only one entry that matches a given +# repository. diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist new file mode 100644 index 000000000..2921bffcd --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist @@ -0,0 +1,13 @@ +# The "checkoutlist" file is used to support additional version controlled +# administrative files in $CVSROOT/CVSROOT, such as template files. +# +# The first entry on a line is a filename which will be checked out from +# the corresponding RCS file in the $CVSROOT/CVSROOT directory. +# The remainder of the line is an error message to use if the file cannot +# be checked out. +# +# File format: +# +# [][] +# +# comment lines begin with '#' diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist,v new file mode 100644 index 000000000..4f0410b6a --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/checkoutlist,v @@ -0,0 +1,37 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "checkoutlist" file is used to support additional version controlled +# administrative files in $CVSROOT/CVSROOT, such as template files. +# +# The first entry on a line is a filename which will be checked out from +# the corresponding RCS file in the $CVSROOT/CVSROOT directory. +# The remainder of the line is an error message to use if the file cannot +# be checked out. +# +# File format: +# +# [][] +# +# comment lines begin with '#' +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo new file mode 100644 index 000000000..3903ceecf --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo @@ -0,0 +1,26 @@ +# The "commitinfo" file is used to control pre-commit checks. +# The filter on the right is invoked with the repository and a list +# of files to check. A non-zero exit of the filter program will +# cause the commit 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. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{s} = file name, file name, ... +# +# If no format strings are present in the filter string, a default of +# " %r %s" will be appended to the filter string, but this usage is +# deprecated. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo,v new file mode 100644 index 000000000..7cc0771c3 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/commitinfo,v @@ -0,0 +1,50 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "commitinfo" file is used to control pre-commit checks. +# The filter on the right is invoked with the repository and a list +# of files to check. A non-zero exit of the filter program will +# cause the commit 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. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{s} = file name, file name, ... +# +# If no format strings are present in the filter string, a default of +# " %r %s" will be appended to the filter string, but this usage is +# deprecated. +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config new file mode 100644 index 000000000..50d85b5f6 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config @@ -0,0 +1,97 @@ +# Set `SystemAuth' to `no' if pserver shouldn't check system users/passwords. +#SystemAuth=no + +# Set `LocalKeyword' to specify a local alias for a standard keyword. +#LocalKeyword=MYCVS=CVSHeader + +# Set `KeywordExpand' to `i' followed by a list of keywords to expand or +# `e' followed by a list of keywords to not expand. +#KeywordExpand=iMYCVS,Name,Date +#KeywordExpand=eCVSHeader + +# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top +# level of the new working directory when using the `cvs checkout' +# command. +#TopLevelAdmin=no + +# Put CVS lock files in this directory rather than directly in the repository. +#LockDir=/var/lock/cvs + +# Set `LogHistory' to `all' or `TOEFWUPCGMAR' to log all transactions to the +# history file, or a subset as needed (ie `TMAR' logs all write operations) +#LogHistory=TOEFWUPCGMAR + +# Set `RereadLogAfterVerify' to `always' (the default) to allow the verifymsg +# script to change the log message. Set it to `stat' to force CVS to verify +# that the file has changed before reading it (this can take up to an extra +# second per directory being committed, so it is not recommended for large +# repositories. Set it to `never' (the previous CVS behavior) to prevent +# verifymsg scripts from changing the log message. +#RereadLogAfterVerify=always + +# Set `UserAdminOptions' to the list of `cvs admin' commands (options) +# that users not in the `cvsadmin' group are allowed to run. This +# defaults to `k', or only allowing the changing of the default +# keyword expansion mode for files for users not in the `cvsadmin' group. +# This value is ignored if the `cvsadmin' group does not exist. +# +# The following string would enable all `cvs admin' commands for all +# users: +#UserAdminOptions=aAbceIklLmnNostuU + +# Set `UseNewInfoFmtStrings' to `no' if you must support a legacy system by +# enabling the deprecated old style info file command line format strings. +# Be warned that these strings could be disabled in any new version of CVS. +UseNewInfoFmtStrings=yes + +# Set `ImportNewFilesToVendorBranchOnly' to `yes' if you wish to force +# every `cvs import' command to behave as if the `-X' flag was +# specified. +#ImportNewFilesToVendorBranchOnly=no + +# Set `PrimaryServer' to the CVSROOT to the primary, or write, server when +# establishing one or more read-only mirrors which serve as proxies for +# the write server in write mode or redirect the client to the primary for +# write requests. +# +# For example: +# +# PrimaryServer=:fork:localhost/cvsroot + +# Set `MaxProxyBufferSize' to the the maximum allowable secondary +# buffer memory cache size before the buffer begins being stored to disk, in +# bytes. Must be a positive integer but may end in `k', `M', `G', or `T' (for +# kiilo, mega, giga, & tera, respectively). If an otherwise valid number you +# specify is greater than the SIZE_MAX defined by your system's C compiler, +# then it will be resolved to SIZE_MAX without a warning. Defaults to 8M (8 +# megabytes). +# +# High values for MaxProxyBufferSize may speed up a secondary server +# with old hardware and a lot of available memory but can actually slow a +# modern system down slightly. +# +# For example: +# +# MaxProxyBufferSize=1G + +# Set `MaxCommentLeaderLength' to the maximum length permitted for the +# automagically determined comment leader used when expanding the Log +# keyword, in bytes. CVS's behavior when the automagically determined +# comment leader exceeds this length is dependant on the value of +# `UseArchiveCommentLeader' set in this file. `unlimited' is a valid +# setting for this value. Defaults to 20 bytes. +# +# For example: +# +# MaxCommentLeaderLength=20 + +# Set `UseArchiveCommentLeader' to `yes' to cause CVS to fall back on +# the comment leader set in the RCS archive file, if any, when the +# automagically determined comment leader exceeds `MaxCommentLeaderLength' +# bytes. If `UseArchiveCommentLeader' is not set and a comment leader +# greater than `MaxCommentLeaderLength' is calculated, the Log keyword +# being examined will not be expanded. Defaults to `no'. +# +# For example: +# +# UseArchiveCommentLeader=no diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config,v new file mode 100644 index 000000000..d220b4522 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/config,v @@ -0,0 +1,121 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# Set `SystemAuth' to `no' if pserver shouldn't check system users/passwords. +#SystemAuth=no + +# Set `LocalKeyword' to specify a local alias for a standard keyword. +#LocalKeyword=MYCVS=CVSHeader + +# Set `KeywordExpand' to `i' followed by a list of keywords to expand or +# `e' followed by a list of keywords to not expand. +#KeywordExpand=iMYCVS,Name,Date +#KeywordExpand=eCVSHeader + +# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top +# level of the new working directory when using the `cvs checkout' +# command. +#TopLevelAdmin=no + +# Put CVS lock files in this directory rather than directly in the repository. +#LockDir=/var/lock/cvs + +# Set `LogHistory' to `all' or `TOEFWUPCGMAR' to log all transactions to the +# history file, or a subset as needed (ie `TMAR' logs all write operations) +#LogHistory=TOEFWUPCGMAR + +# Set `RereadLogAfterVerify' to `always' (the default) to allow the verifymsg +# script to change the log message. Set it to `stat' to force CVS to verify +# that the file has changed before reading it (this can take up to an extra +# second per directory being committed, so it is not recommended for large +# repositories. Set it to `never' (the previous CVS behavior) to prevent +# verifymsg scripts from changing the log message. +#RereadLogAfterVerify=always + +# Set `UserAdminOptions' to the list of `cvs admin' commands (options) +# that users not in the `cvsadmin' group are allowed to run. This +# defaults to `k', or only allowing the changing of the default +# keyword expansion mode for files for users not in the `cvsadmin' group. +# This value is ignored if the `cvsadmin' group does not exist. +# +# The following string would enable all `cvs admin' commands for all +# users: +#UserAdminOptions=aAbceIklLmnNostuU + +# Set `UseNewInfoFmtStrings' to `no' if you must support a legacy system by +# enabling the deprecated old style info file command line format strings. +# Be warned that these strings could be disabled in any new version of CVS. +UseNewInfoFmtStrings=yes + +# Set `ImportNewFilesToVendorBranchOnly' to `yes' if you wish to force +# every `cvs import' command to behave as if the `-X' flag was +# specified. +#ImportNewFilesToVendorBranchOnly=no + +# Set `PrimaryServer' to the CVSROOT to the primary, or write, server when +# establishing one or more read-only mirrors which serve as proxies for +# the write server in write mode or redirect the client to the primary for +# write requests. +# +# For example: +# +# PrimaryServer=:fork:localhost/cvsroot + +# Set `MaxProxyBufferSize' to the the maximum allowable secondary +# buffer memory cache size before the buffer begins being stored to disk, in +# bytes. Must be a positive integer but may end in `k', `M', `G', or `T' (for +# kiilo, mega, giga, & tera, respectively). If an otherwise valid number you +# specify is greater than the SIZE_MAX defined by your system's C compiler, +# then it will be resolved to SIZE_MAX without a warning. Defaults to 8M (8 +# megabytes). +# +# High values for MaxProxyBufferSize may speed up a secondary server +# with old hardware and a lot of available memory but can actually slow a +# modern system down slightly. +# +# For example: +# +# MaxProxyBufferSize=1G + +# Set `MaxCommentLeaderLength' to the maximum length permitted for the +# automagically determined comment leader used when expanding the Log +# keyword, in bytes. CVS's behavior when the automagically determined +# comment leader exceeds this length is dependant on the value of +# `UseArchiveCommentLeader' set in this file. `unlimited' is a valid +# setting for this value. Defaults to 20 bytes. +# +# For example: +# +# MaxCommentLeaderLength=20 + +# Set `UseArchiveCommentLeader' to `yes' to cause CVS to fall back on +# the comment leader set in the RCS archive file, if any, when the +# automagically determined comment leader exceeds `MaxCommentLeaderLength' +# bytes. If `UseArchiveCommentLeader' is not set and a comment leader +# greater than `MaxCommentLeaderLength' is calculated, the Log keyword +# being examined will not be expanded. Defaults to `no'. +# +# For example: +# +# UseArchiveCommentLeader=no +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers new file mode 100644 index 000000000..e989b7545 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers @@ -0,0 +1,19 @@ +# This file affects handling of files based on their names. +# +# The -m option specifies whether CVS attempts to merge files. +# +# The -k option specifies keyword expansion (e.g. -kb for binary). +# +# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers) +# +# wildcard [option value][option value]... +# +# where option is one of +# -f from cvs filter value: path to filter +# -t to cvs filter value: path to filter +# -m update methodology value: MERGE or COPY +# -k expansion mode value: b, o, kkv, &c +# +# and value is a single-quote delimited value. +# For example: +#*.gif -k 'b' diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers,v new file mode 100644 index 000000000..00bd795cc --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/cvswrappers,v @@ -0,0 +1,43 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# This file affects handling of files based on their names. +# +# The -m option specifies whether CVS attempts to merge files. +# +# The -k option specifies keyword expansion (e.g. -kb for binary). +# +# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers) +# +# wildcard [option value][option value]... +# +# where option is one of +# -f from cvs filter value: path to filter +# -t to cvs filter value: path to filter +# -m update methodology value: MERGE or COPY +# -k expansion mode value: b, o, kkv, &c +# +# and value is a single-quote delimited value. +# For example: +#*.gif -k 'b' +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/history b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/history new file mode 100644 index 000000000..321c9cedc --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/history @@ -0,0 +1 @@ +O48f739fd|stefan|~/ASF/ant/ant-HEAD/src/tests/antunit/taskdefs/cvs/*0|antmodule1||antmodule1 diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo new file mode 100644 index 000000000..6a1580d82 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo @@ -0,0 +1,36 @@ +# The "loginfo" file controls where "cvs commit" log information is +# sent. The first entry on a line is a regular expression which must +# match the directory that the change is being made to, relative to the +# $CVSROOT. If a match is found, then the remainder of the line is a +# filter program that should expect log information on its standard input. +# +# 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. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{sVv} = attribute list = file name, old version number (pre-checkin), +# new version number (post-checkin). 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 instead. +# +# 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 new revision. +# It also generates multiple arguments for each file being operated upon. +# That is, if two files, file1 & file2, are being commited from 1.1 to +# version 1.1.2.1 and from 1.1.2.2 to 1.1.2.3, respectively, %{sVv} will +# generate the following six arguments in this order: +# file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3. +# +# For example: +#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog +# or +#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo,v new file mode 100644 index 000000000..5a6b82552 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/loginfo,v @@ -0,0 +1,60 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "loginfo" file controls where "cvs commit" log information is +# sent. The first entry on a line is a regular expression which must +# match the directory that the change is being made to, relative to the +# $CVSROOT. If a match is found, then the remainder of the line is a +# filter program that should expect log information on its standard input. +# +# 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. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %{sVv} = attribute list = file name, old version number (pre-checkin), +# new version number (post-checkin). 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 instead. +# +# 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 new revision. +# It also generates multiple arguments for each file being operated upon. +# That is, if two files, file1 & file2, are being commited from 1.1 to +# version 1.1.2.1 and from 1.1.2.2 to 1.1.2.3, respectively, %{sVv} will +# generate the following six arguments in this order: +# file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3. +# +# For example: +#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog +# or +#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules new file mode 100644 index 000000000..cb9e9efc9 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules @@ -0,0 +1,26 @@ +# Three different line formats are valid: +# key -a aliases... +# key [options] directory +# key [options] directory files... +# +# Where "options" are composed of: +# -i prog Run "prog" on "cvs commit" from top-level of module. +# -o prog Run "prog" on "cvs checkout" of module. +# -e prog Run "prog" on "cvs export" of module. +# -t prog Run "prog" on "cvs rtag" of module. +# -u prog Run "prog" on "cvs update" of module. +# -d dir Place module in directory "dir" instead of module name. +# -l Top-level directory only -- do not recurse. +# +# NOTE: If you change any of the "Run" options above, you'll have to +# release and re-checkout any working directories of these modules. +# +# And "directory" is a path to a directory relative to $CVSROOT. +# +# The "-a" option specifies an alias. An alias is interpreted as if +# everything on the right of the "-a" had been typed on the command line. +# +# You can encode a module within a module by using the special '&' +# character to interpose another module into the current module. This +# can be useful for creating a module that consists of many directories +# spread out over the entire source repository. diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules,v new file mode 100644 index 000000000..ca44716c1 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/modules,v @@ -0,0 +1,50 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# Three different line formats are valid: +# key -a aliases... +# key [options] directory +# key [options] directory files... +# +# Where "options" are composed of: +# -i prog Run "prog" on "cvs commit" from top-level of module. +# -o prog Run "prog" on "cvs checkout" of module. +# -e prog Run "prog" on "cvs export" of module. +# -t prog Run "prog" on "cvs rtag" of module. +# -u prog Run "prog" on "cvs update" of module. +# -d dir Place module in directory "dir" instead of module name. +# -l Top-level directory only -- do not recurse. +# +# NOTE: If you change any of the "Run" options above, you'll have to +# release and re-checkout any working directories of these modules. +# +# And "directory" is a path to a directory relative to $CVSROOT. +# +# The "-a" option specifies an alias. An alias is interpreted as if +# everything on the right of the "-a" had been typed on the command line. +# +# You can encode a module within a module by using the special '&' +# character to interpose another module into the current module. This +# can be useful for creating a module that consists of many directories +# spread out over the entire source repository. +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify new file mode 100644 index 000000000..aaf98c599 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify @@ -0,0 +1,19 @@ +# The "notify" file controls where notifications from watches set by +# "cvs watch add" or "cvs edit" are sent. The first entry on a line is +# a regular expression which is tested against the directory that the +# change is being made to, relative to the $CVSROOT. If it matches, +# then the remainder of the line is a filter program that should contain +# one occurrence of %s for the user to notify, and information on its +# standard input. +# +# "ALL" or "DEFAULT" can be used in place of the regular expression. +# +# format strings are replaceed as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %s = user to notify +# +# For example: +#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification" diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify,v new file mode 100644 index 000000000..c0a02f986 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/notify,v @@ -0,0 +1,43 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "notify" file controls where notifications from watches set by +# "cvs watch add" or "cvs edit" are sent. The first entry on a line is +# a regular expression which is tested against the directory that the +# change is being made to, relative to the $CVSROOT. If it matches, +# then the remainder of the line is a filter program that should contain +# one occurrence of %s for the user to notify, and information on its +# standard input. +# +# "ALL" or "DEFAULT" can be used in place of the regular expression. +# +# format strings are replaceed as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %s = user to notify +# +# For example: +#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification" +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin new file mode 100644 index 000000000..a1a081281 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin @@ -0,0 +1,20 @@ +# The "postadmin" file is called after the "admin" command finishes +# processing a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin,v new file mode 100644 index 000000000..db853edc6 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postadmin,v @@ -0,0 +1,44 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "postadmin" file is called after the "admin" command finishes +# processing a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy new file mode 100644 index 000000000..49c6cfb01 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy @@ -0,0 +1,22 @@ +# The "postproxy" file is called from a secondary server as soon as +# the secondary server closes its connection to the primary server. +# This script might, for example, be used to shut down a dial up +# or VPN connection to the primary server's network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy,v new file mode 100644 index 000000000..454d19d7d --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postproxy,v @@ -0,0 +1,46 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "postproxy" file is called from a secondary server as soon as +# the secondary server closes its connection to the primary server. +# This script might, for example, be used to shut down a dial up +# or VPN connection to the primary server's network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag new file mode 100644 index 000000000..7f369e388 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag @@ -0,0 +1,37 @@ +# The "posttag" file is called after the "tag" command finishes +# processing a directory. +# +# 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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag,v new file mode 100644 index 000000000..31c7024d7 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/posttag,v @@ -0,0 +1,61 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "posttag" file is called after the "tag" command finishes +# processing a directory. +# +# 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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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. +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch new file mode 100644 index 000000000..5b001b123 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch @@ -0,0 +1,20 @@ +# The "postwatch" file is called after any command finishes writing new +# file attibute (watch/edit) information in a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch,v new file mode 100644 index 000000000..8e3825cb3 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/postwatch,v @@ -0,0 +1,44 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "postwatch" file is called after any command finishes writing new +# file attibute (watch/edit) information in a directory. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy new file mode 100644 index 000000000..a9f514f48 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy @@ -0,0 +1,24 @@ +# The "preproxy" file is called form the secondary server as soon as +# the secondary server determines that it will be proxying a write +# command to a primary server and immediately before it opens a +# connection to the primary server. This script might, for example, be +# used to launch a dial up or VPN connection to the primary server's +# network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy,v new file mode 100644 index 000000000..5dcaa2791 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/preproxy,v @@ -0,0 +1,48 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "preproxy" file is called form the secondary server as soon as +# the secondary server determines that it will be proxying a write +# command to a primary server and immediately before it opens a +# connection to the primary server. This script might, for example, be +# used to launch a dial up or VPN connection to the primary server's +# network. +# +# If any format strings are present in the filter, they will be replaced +# as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository (currently always ".") +# %r = repository (path portion of $CVSROOT) +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo new file mode 100644 index 000000000..49e59f4d0 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo @@ -0,0 +1,13 @@ +# The "rcsinfo" file is used to control templates with which the editor +# is invoked on commit and import. +# +# The first entry on a line is a regular expression which is tested +# against the directory that the change is being made to, relative to the +# $CVSROOT. For the first match that is found, then the remainder of the +# line is the name of the file that contains the template. +# +# 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo,v new file mode 100644 index 000000000..df61bfb3f --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/rcsinfo,v @@ -0,0 +1,37 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "rcsinfo" file is used to control templates with which the editor +# is invoked on commit and import. +# +# The first entry on a line is a regular expression which is tested +# against the directory that the change is being made to, relative to the +# $CVSROOT. For the first match that is found, then the remainder of the +# line is the name of the file that contains the template. +# +# 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo new file mode 100644 index 000000000..ce9d0deaf --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo @@ -0,0 +1,46 @@ +# 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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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". diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo,v new file mode 100644 index 000000000..82c87f25e --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/taginfo,v @@ -0,0 +1,70 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +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" +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %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 version 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". +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/val-tags b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/val-tags new file mode 100644 index 000000000..e69de29bb diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg new file mode 100644 index 000000000..357a0b035 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg @@ -0,0 +1,31 @@ +# The "verifymsg" file is used to allow verification of logging +# information. It works best when a template (as specified in the +# rcsinfo file) is provided for the logging procedure. Given a +# template with locations for, a bug-id number, a list of people who +# reviewed the code before it can be checked in, and an external +# process to catalog the differences that were code reviewed, the +# following test can be applied to the code: +# +# Making sure that the entered bug-id number is correct. +# Validating that the code that was reviewed is indeed the code being +# checked in (using the bug-id number or a seperate review +# number to identify this particular code set.). +# +# If any of the above test failed, then the commit would be aborted. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %l = name of log file to be verified. +# +# If no format strings are present in the filter, a default " %l" will +# be appended to the filter, but this usage is deprecated. +# +# Actions such as mailing a copy of the report to each reviewer are +# better handled by an entry in the loginfo file. +# +# One thing that should be noted is the the ALL keyword is not +# supported. There can be only one entry that matches a given +# repository. diff --git a/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg,v b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg,v new file mode 100644 index 000000000..d80fd0999 --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/CVSROOT/verifymsg,v @@ -0,0 +1,55 @@ +head 1.1; +access ; +symbols ; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.52.41; author stefan; state Exp; +branches; +next ; +commitid f9748f739194567; + +desc +@@ + + + +1.1 +log +@initial checkin@ +text +@# The "verifymsg" file is used to allow verification of logging +# information. It works best when a template (as specified in the +# rcsinfo file) is provided for the logging procedure. Given a +# template with locations for, a bug-id number, a list of people who +# reviewed the code before it can be checked in, and an external +# process to catalog the differences that were code reviewed, the +# following test can be applied to the code: +# +# Making sure that the entered bug-id number is correct. +# Validating that the code that was reviewed is indeed the code being +# checked in (using the bug-id number or a seperate review +# number to identify this particular code set.). +# +# If any of the above test failed, then the commit would be aborted. +# +# Format strings present in the filter will be replaced as follows: +# %c = canonical name of the command being executed +# %R = the name of the referrer, if any, otherwise the value NONE +# %p = path relative to repository +# %r = repository (path portion of $CVSROOT) +# %l = name of log file to be verified. +# +# If no format strings are present in the filter, a default " %l" will +# be appended to the filter, but this usage is deprecated. +# +# Actions such as mailing a copy of the report to each reviewer are +# better handled by an entry in the loginfo file. +# +# One thing that should be noted is the the ALL keyword is not +# supported. There can be only one entry that matches a given +# repository. +@ + diff --git a/src/tests/antunit/taskdefs/cvs/repository/antmodule1/foo.txt,v b/src/tests/antunit/taskdefs/cvs/repository/antmodule1/foo.txt,v new file mode 100644 index 000000000..55718c4ce --- /dev/null +++ b/src/tests/antunit/taskdefs/cvs/repository/antmodule1/foo.txt,v @@ -0,0 +1,42 @@ +head 1.1; +branch 1.1.1; +access ; +symbols start:1.1.1.1 ant:1.1.1; +locks ; strict; +comment @# @; + + +1.1 +date 2008.10.16.12.56.07; author stefan; state Exp; +branches 1.1.1.1; +next ; +commitid 17ca48f739e74567; + +1.1.1.1 +date 2008.10.16.12.56.07; author stefan; state Exp; +branches ; +next ; +commitid 17ca48f739e74567; + + +desc +@@ + + + +1.1 +log +@Initial revision +@ +text +@This is a text. + +@ + + +1.1.1.1 +log +@Initial import +@ +text +@@