info-cvs
[Top][All Lists]
Advanced

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

Re: keword (re) expansion


From: Mark D. Baushke
Subject: Re: keword (re) expansion
Date: Thu, 16 Feb 2006 07:05:43 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Igor Okulist <address@hidden> writes:

> Here is a small test that shows my situation:
> 
> address@hidden tstcvs]$ cvs tag TAG_0
> cvs server: Tagging .
> T tst.cpp
> address@hidden tstcvs]$ cat tst.cpp
> $Name: 1.1.1.1 $
> address@hidden tstcvs]$ cvs update -r TAG_0
> cvs server: Updating .
> address@hidden tstcvs]$ cat tst.cpp
> $Name: 1.1.1.1 $
> 
> 
> why $Name:$ did NOT change after calling cvs update -r TAG_0 ???

The $Name$ update is not triggered unless you download or patch the
tst.cpp file during an update. 'rm tst.cpp && cvs update tst.cpp'
would do the job for you.

In general, the $Name$ substitution is intended for a clean checkout of
your sources based on the tag.

        Enjoy!
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFD9JTHCg7APGsDnFERAq9PAJ47bLtgQw+BqbgKxXbyanx+Nea29QCeJ75E
EpXuJgPiAdHZj7a3ei4dHEs=
=eI/x
-----END PGP SIGNATURE-----




reply via email to

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