info-cvs
[Top][All Lists]
Advanced

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

Re: Using rdiff to check if tag exists


From: Derek Robert Price
Subject: Re: Using rdiff to check if tag exists
Date: Wed, 19 Nov 2003 14:34:47 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

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

Jim.Hyslop wrote:

>Aldo TENDRON [mailto:address@hidden wrote:
>
>>>Then you rdiffed on c, which contains the tag, so the tag is
>>>added to val-tags. The second time you check on d, the tag
>>>"exists", even though the diff will be obviously empty.
>>
>>So, if a tag is successfully used one time, cvs assumes that it exists
>>for all modules ? Is this a cvs issue, or is it a normal feature ?
>
>This is the documented behaviour of the val-tags - it records all tags used
>by any file in the repository. Not very useful, IMO.


Well, it can save time, because sometimes it save CVS searching every
file in the repository when the tag doesn't actually exist.
Unfortunately, CVS doesn't sotre any directory/file information for the
tag outside of the RCS archives themselves, though.  A more efficient &
useful scheme might be to store a CVS/val-tags file in every directory
in the repository - it wouldn't be so hard ot maintain after deleteing a
tag - only the current directory would need to be searched for the tag,
as opposed to the entire repository, to remove it from a val-tags file.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/u8XWLD1OTBfyMaQRAglDAJ4nNKA0Y5kYM4qtWu1f+5HjjXuU3gCfYpyq
YpRh+p3OvOwFh2u9YyxJZfA=
=fCiM
-----END PGP SIGNATURE-----






reply via email to

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