[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: import doesn't create directories in the repository for empty
From: |
Derek Robert Price |
Subject: |
Re: import doesn't create directories in the repository for empty |
Date: |
Tue, 16 Mar 2004 11:41:42 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Galen Seitz wrote:
>Larry Jones <lawrence.jones@ugsplm.com> wrote:
>
>>Galen Seitz writes:
>>
>>>I followed the instructions in Cederqvist section 3.1.3, "Creating a
>>>directory tree from scratch", but cvs apparently does not create
>>>directories for empty subdirs.
>>
>>Correct -- CVS manages files, not directories.
>
>
>Would you entertain a patch to remove or replace the following section
>of the manual? It is clearly wrong as written.
No, because Larry told you wrong. `cvs import' _DOES_ create empty
directories in the repository when requested. Most likely, however, you
are attempting to check out your new project using `cvs checkout -P'.
Later `cvs update -P's can have a similar effect. `-P' could also be
specified in your ~/.cvsrc (or in WinCVS the global preferences tab's
"Prune (remove) empty directories" option).
The workaround is either to 1: Checkout some empty and harmless file you
might need later, like .cvsignore, or something like a stub Makefile
into each previously empty directory before your import, or 2: checkout
and update without the `-P' option until you no longer have any empty
directories you are concerned about retaining in your sandbox.
Derek
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQFAVy5FLD1OTBfyMaQRAls3AJ9TSD6Aaaoizxu7qQnx/tGT3tJfeACfXJaa
5ZJ43jEzk0O4eXWzDm+HW/Q=
=UG7w
-----END PGP SIGNATURE-----