On Fri, Sep 21, 2001 at 08:12:29PM -0400, Larry Jones wrote:
> John McNamara writes:
> > 
> > Why doesn't Case 2 work?
> 
> If the tag doesn't exist at all, CVS assumes that you've made a mistake
> and so doesn't do anything.  After all, if the tag doesn't exist at all,
> why are you specifying it with -f instead of just checking out the head?
> 
> > If Case 2 shouldn't work why does Case 3 work?
> 
> Actually, Case 3 may or may not work -- it depends on whether the tag is
> in the CVSROOT/val-tags file or not.  If it is, it works; if it's not,
> it doesn't.

[Not disagreeing with Larry; just elaborating]

Case 3 is supposed to work all the time.  CVSROOT/val-tags exists
specifically to let CVS distinguish Cases 2 and 3 (the only other
way would be to recursively search the entire repo for files
containing the requested tag -- obviously a non-starter).  But
val-tags is not always correct; tags that are supposed to be
listed in it aren't always there.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        [EMAIL PROTECTED]
|  |  /
The world has been attacked.  The world must respond ... [but] we must
be guided by a commitment to do what works in the long run, not by what
makes us feel better in the short run.
        - Jean Chrétien, Prime Minister of Canada

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

Reply via email to