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


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

Reply via email to