info-cvs
[Top][All Lists]
Advanced

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

Re: CVS Behaviour


From: Larry Jones
Subject: Re: CVS Behaviour
Date: Mon, 25 Aug 2003 20:27:45 -0400 (EDT)

Patwardhan, Rajesh writes:
> 
> Is it a known issue or is it expected behaviour that if i issue a command
> cvs co -r1 full_path_to_dir/file_name  ( 1 as a digit ) and I noted that for
> any file. 
> I get the head revision of the file. 

When you specify a branch number with no revision (which is what 1 is),
you get the most recent revision on the branch.  Under normal
conditions, the trunk is branch 1, so the results are not unexpected. 
However, the official definition of the "head" revision is the most
recent revision on the default branch, which is not necessarily the
trunk (it might be a vendor branch instead), and even if it is the
trunk, there's no guarantee that the trunk is branch 1 (the user may
have forced a higher number), so there's no guarantee that it gets you
the head revision.

-Larry Jones

Girls are so weird. -- Calvin




reply via email to

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