> From: Hon-Chi Ng [mailto:[EMAIL PROTECTED]]

> In the A.10 section of CVS manual, it claims that "cvs export" is
> equivalent to "cvs checkout", but without CVS directories.  However, I
> found out that
> 
>   cvs checkout
> 
> create subdirectories even if they're empty.
> 
> On the other hand, 
> 
>   cvs export -D now
> 
> refuses to create directories that are empty.

You're right. The manual is wrong. Section 7.3 says that "cvs export"
supports the "-P" option to prune empty directories, but really export
always prunes empy directories. The Appendix section A.10 indicates that
"cvs export" works like "cvs checkout" and fails to mention that it does not
create empty directories, as checkout does. It does not however, list "-P"
as one of the options available to the command.
So, if export is not changed to create empty directories, the manual should
be changed in section 7.3 (deleting "cvs export" from the list of commands
supporting "-P") and section A.10 (adding a note that "cvs export" will
never create empty directories).
It is really only 7.3 which is technically incorrect. If you checkout using
-D or -r, one of which is always required with export, checkout won't create
any empty directories either. Right?
Jerry

Reply via email to