info-cvs
[Top][All Lists]
Advanced

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

Re: Problems with -f option and checkout


From: Eric Siegerman
Subject: Re: Problems with -f option and checkout
Date: Fri, 21 Sep 2001 21:31:11 -0400
User-agent: Mutt/1.2.5i

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.        address@hidden
|  |  /
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



reply via email to

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