Have a look at,
http://www.fido.de/kama/cvsmtp/en/cvs-en_69.html#SEC69
You can preserve other 'empty' directories by putting an hidden file
into them.

Ondrej

Hon-Chi Ng wrote:
> 
> Hi
> 
> I want to remove a directory from CVS repository.
> 
> Here are what I did.
> 
>   $ cd foo
>   $ rm *
>   rm: CVS is a directory
>   $ cvs remove
>   cvs remove: Removing .
>   cvs remove: scheduling `f11' for removal
>   cvs remove: scheduling `f22' for removal
>     [ ... ]
>   $ cvs ci -m "Delete foo"
>   cvs commit: Examining .
>   Removing f11;
>     [ ... ]
>   Removing f22;
>     [ ... ]
>   $ cd ..
>   $ cvs update -P
>   cvs update: Updating .
>   cvs update: Updating foo
>     [ ... ]
>   $ ls foo
>   foo: No such file or directory.
>   $
> 
> However, the "foo" directory is still remain in the repository, and the
> next time I run "cvs co", I still get the "foo" directory back.  I don't
> want to use "-P" option, because I want to retain other empty
> directories.
> 
> So, my questions are:
> 1. Is it safe for me to delete the "foo" directory in CVS repository
>    directly?
> 
> 2. If not, is there an alternative way to do so with other empty
>    directories still preserved?
> 
> Thanks.  I appreciate your help.
> 
> Regards
> Hon-Chi
> 
> --== Sent via Deja.com http://www.deja.com/ ==--
> Before you buy.

-- 
         ________________________________________________________ 
        |                                                        |       
        |                                                        |       
        |   http://www.geocities.com/SiliconValley/Lakes/6150    | 
        |                                                        |       
     _  |                                                        |  _    
    / ) |                                                        | ( \   
  _( (_ |  _              E-mail: [EMAIL PROTECTED]        _  | _) )_ 
 (((\ \)|_/ )________________________________________________( \_|(/
/)))
  \\\\ \_/ /                                                  \ \_/ //// 
   \      /                                                    \      /  
    \   _/                                                      \_   /   
    /__/                                                          \__\

Reply via email to