Ming,

Mark E. Hamilton wrote:
Ming,

Ming Kin Lai wrote:

Based on the revision number, it looks to me like you initially added the
doc directory, Manual.tex, etc. to the version3 branch.


The how do you explain the fact that when I now check out the project, doc is missing?
% cvs -d /home/messengr/cvs checkout -r v3_0_6 myproj
% cd myproj/
% ls
AUTHORS    CVS/       Makefile   NEWS       Readme     compiler/  daemon/
(doc is missing)


Do you have a ~/.cvsrc file that specifies 'checkout -P'? The 'Existing Tags:' for Manual.tex doesn't include the 'v3_0_6' tag, so that file isn't a part of that branch/tag. If a directory is empty, and the '-P' option is used with 'cvs checkout' the empty directory will be pruned from your working directory. Since you didn't specify the '-P' option in your command, it could be specified in the ~/.cvsrc file.

Actually, I did a quick little test and it seems that an empty sub-directory is pruned (in this case) regardless of whether -P is present. So, the reason that the doc directory is missing in your working directory is because the Manual.tex file was not tagged with the v3_0_6 tag, and so when you checked out the myproj hierarchy using that tag the doc directory was empty, and so was not checked out in your working directory.

--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666



_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to