On Thu, 13 Nov 2003, Aldo TENDRON wrote:

> Hello,
> I have a problem using rdiff to check it a tag exists for a given
> module.
> [...]

Hehe, I've tried that before, and stumbled with the same problem.
The reason is, I think, when a tag has been successfully used it
ends up in the cache file CVSROOT/val-tags; that will be the
first thing looked at by the subsequent rdiff commands you are
issuing. As long as the tag is there, no error is shown.

So the first time you rdiffed on d, the actual files in the
module had to be looked at, and the tag wasn't there, so an error happened.
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.

The only reliable way I've found to check for the existence of
tags is 'cvs stat -v' (but that's a pain for directories).
Regards,

--
�lvaro Mart�nez Echevarr�a    <[EMAIL PROTECTED]>
Cisco Systems
SJC24/3/A5-3
510 McCarthy Blvd.
Milpitas, CA 95035
Phone: +1-408-526-7179




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

Reply via email to