[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change keyword expansion format
From: |
Mark D. Baushke |
Subject: |
Re: How to change keyword expansion format |
Date: |
Thu, 24 Jun 2004 01:46:40 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan Ivanov <address@hidden> writes:
> I am using quite successfully CVS Keywords and the
> keyword expansion format and I have some minor
> questions on these useul feature:
> 1) $RCSfile$ is expanded to $RCSfile: myfile.txt,v $.
> How can I configure the expanasion so that $RCSfile$
> is substituted with $myfile.txt$?
Your desired change in keyword expansion is not
possible with the stock version of cvs without
modification to the sources.
> 2) $Date$ is expanded to $Date: 2004/06/24 08:25:59 $.
> How to configure the expansion so that it become
> $Date: 2004/06/24 $?
Your desired change in keyword expansion is not
possible with the stock version of cvs without
modification to the sources.
> 3) The $Date$ is expanded to the date of the last
> commit, which perfectly suits the developers' need.
> However, when we make an official source
> distribution, we want the $Date$ to be expanded to the
> current date. Is there a way the files in the
> repository to be touched?
No.
> Touch is not the exact word, because we do not
> want to change the last commit date, we simply
> wants when we create distibution $Date$ be
> expanded to the current date. Any ideas?
It would appear that you want a program of some
sort (possibly a perl script) to be run on your
sources sometime after you do a checkout.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFA2pTw3x41pRYZE/gRAsA2AJ4jRKZpihC7g1GklM4RQKw440i9sQCaAnnW
0nkJr5NMQ0VLNPV4GHmaLQ4=
=x7zP
-----END PGP SIGNATURE-----