Hi Larry,

actually that's just what we were looking for - but:
It looks as if there is an inconsistency within cvs that keeps us from using it.

If we tag a module and subsequently delete the same tag on the module, cvs acts 
differently
as when the tag has never been set.
I recon that cvs checks the val-tags file only when deciding 
whether the tag exists and doesn't look at the rcs files to say good or bad.

Apparentely the val-tags file is never updated when deleting a tag (Well - how should 
it, there is probably no way to say that the deleted tag is the "last" tag of it's 
kind in the repository and have it taken out of the val-tags list)

Nonetheless i was wondering if this is not a bug as it also manifests when doing a 
checkout.
If you checkout a module with a deleted tag you won't get an error, even though the 
tag doesn't really exist on any file contained in the module. That seems very 
inconsistent as it does not reflect the state of the module at all.

Regards 
Timm


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 4:16 PM
To: Roser Timm (KADA 31)
Cc: [EMAIL PROTECTED]
Subject: Re: Checking Tag existance


"Roser Timm (KADA 31)" writes:
> 
> is there a way to check the existance of a given tag before trying to checkout out a 
> module with this tag?

        cvs rdiff -rtag -rtag module

-Larry Jones

When I want an editorial, I'll ASK for it! -- Calvin


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to