[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exporting with empty directories

From: Greg A. Woods
Subject: Re: Exporting with empty directories
Date: Thu, 30 Aug 2001 11:08:03 -0400 (EDT)

[ On Thursday, August 30, 2001 at 15:55:35 (+0200), Edouard Cugni wrote: ]
> Subject: Exporting with empty directories
> I trying to know how to export empty directories. I have no .cvsrc files,
> and so no -P. But cvs export does not export emty directories.

'cvs update -P' is the implied default for 'cvs export' (and really
should be for 'cvs update' too!).

You cannot export empty directories.

CVS does not manage directories -- only the files within them.
Directories are only there to hold the files in a structured hierarchy.

Think about it -- if you could you'd have no way to distinguish between
a desired empty directory and one that's empty only because all the
files that were once in it have been removed in the release you're

You must either put a "holding" file in the directory (which you may
remove after the export), or create the empty directory afterwards, with
your build system.

                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]