[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: empty directories on export
From: |
Greg A. Woods |
Subject: |
Re: empty directories on export |
Date: |
Thu, 30 May 2002 22:41:17 -0400 (EDT) |
[ On Tuesday, May 28, 2002 at 17:10:11 (+0200), Nicolas PEZRON wrote: ]
> Subject: empty directories on export
>
> I have an empty arborescence in my repository and when
> I do the command "export", I would like that this
> arborescence appears normally even if the
> subdirectories are empty...
> in fact, i would like to export all the directories,
> even those which are empty
That is not a possible option. CVS does not version directories -- only
files. Directories are just containers for files that come and go as
needed. If your soruce distribution must contain empty directories then
I suggest you add something like a "make dist" target to your build
procedures that you can run in a "cvs export"ed module to create those
empty directories for you.
Otherwise you'll have to put a file in the directory and keep it there,
ppossibly removing it just before you package up your distribution....
You should put "update -P" or even "update -d -P" in your ~/.cvsrc files
too just so you get used to this feature too.....
--
Greg A. Woods
+1 416 218-0098; <address@hidden>; <address@hidden>; <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>