>From: "Dennis Jones" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: bug in branch checkout?
>Date: Tue, 27 Jun 2000 10:15:33 -0700
>X-MS-TNEF-Correlator:
<[EMAIL PROTECTED]>
>X-MDaemon-Deliver-To: [EMAIL PROTECTED]
>X-Return-Path: [EMAIL PROTECTED]
>X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/18276
>
>I added new directory under a branch like this:
>
>mkdir new_dir
>cvs add new_dir
>
>I get the message,
>
>"Directory /vol/cvs/fpc/new_dir added to the repository
>--> Using per-directory sticky tag `REL_2_1_A'"
>
>Okay? So far, so good. Now, the directory is empty because I have
not
>added any files to it yet, and if a user does this:
>
>cvs co -rbranch_tag module_name
>
>he DOES NOT get the new directory. But, if a user does this:
>
>cvs co module_name (note the absence of the branch tag)
>
>he WILL get the directory even though it was created on the branch,
not on
>the main trunk! This does not seem like correct behavior. What's
going on?
This is because CVS prunes empty directories on branches. If you need
an empty directory, either get your build system to create them for
you or put a hidden file in the directory.
--
Stephen Rasku E-mail: [EMAIL PROTECTED]
Senior Software Engineer Phone: (604) 872-6676
TGI Technologies Web: http://www.tgivan.com/