[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Using rdiff to check if tag exists
From: |
Jim.Hyslop |
Subject: |
RE: Using rdiff to check if tag exists |
Date: |
Thu, 13 Nov 2003 13:07:48 -0500 |
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.
> Perhaps a better approach is to create a special file
> 'lsttag' in every
> cvs module. This file will be tagged with every rtag command, so I can
> use cvs stat -v on that particular file ? Is this a correct approach ?
That should work. Anything that works is a "correct approach" :=)
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)