info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Multiple LocalKeywords


From: Arthur Barrett
Subject: RE: Multiple LocalKeywords
Date: Mon, 1 Aug 2005 09:37:42 +1000

Lund,

CVSNT has recently added definable keywords, this may be more what you
are looking for.

CVSNT is free/GPL (just like CVS) and runs on Windows/Unix/Linux/Mac
etc.

You will need a testing release (eg: 2.5.02.2025) to try this feature.

The only documentation is in the Keywords administrative file:

# The "keywords" file is used to modify the standard set of RCS keywords
# or define entirely new ones.
#
# 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.  Subsequent lines contain keyword definitions, indented by a
space
# to separate them from module definitions
.#
# If the repository name does not match any of the definitions in this
# file, the "ALL" section is used, if it is specified.
#
# Any keyword with an empty definition is ignored.  This can be used to
selectively
# disable individual RCS keywords.
#
# The default defintions are:
#
#ALL
#  Author    %a
#  Date      %d
#  Header    %r/%p/%f %v %d %a %s %l
#  CVSHeader %p/%f %v %d %a %s %l
#  Id        %f %v %d %a %s %l
#  Locker    %l
#  Log            %f
#  Name      %N
#  RCSfile   %f
#  Revision  %v
#  Source    %r/%p/%f
#  State     %s
#  CommitId  %C

I believe the latest release also has a new keyword:
   Branch %t

The CVSNT newsgroup can be contacted here:
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
or
news://news.cvsnt.org/support.cvsnt

Regards,



Arthur Barrett

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of address@hidden
Sent: Thursday, 28 July 2005 10:37 AM
To: address@hidden
Subject: Multiple LocalKeywords



I thought I would revisit this again as I felt it wasn't resolved the
way I would like it. I have one CVS repository, but I would like to set
a LocalKeyword for each project. I have just fetched the latest CVS to
try.

However, it seems that LocalKeyword will only handle one, per
repository. In that if I specify it multiple times, only the last
mentioned takes effect.

I do not believe I can use "loginfo" style syntax to test which project
the commit is for based on the path either.

Short of always updating "config" before I check in a particular
project, there is no way to automatically handle multiple LocalKeywords
?

LocalKeyword=LiON=CVSHeader
LocalKeyword=FXPOne=CVSHeader
LocalKeyword=NetBSD=CVSHeader

Lund

_______________________________________________
Info-cvs mailing list
address@hidden http://lists.nongnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]