[MITgcm-devel] Re: [MITgcm-cvs] MITgcm/doc CVS Commit

Martin Losch mlosch at awi-bremerhaven.de
Thu Sep 2 02:37:58 EDT 2004


Hi Ed,

I didn't want to get an empty directory but the new directories that 
made their way into the repository over the last two days 
(verification/dic_example and pkg/offline), since they are not empty, I 
would have suspected that -P in cvs update -d -Pshouldn't make a 
difference, but I doesn't work for me. I'll go for the third option 
(co), thanks.

Martin


On Sep 1, 2004, at 4:21 PM, Ed Hill wrote:

> On Wed, 2004-09-01 at 09:30, Martin Losch wrote:
>> Ed,
>> Something I always wanted to know:
>> how do I get the new directory into my current (almost uptodate) copy:
>> cvs update -d -P
>> does not work
>> Martin
>
> Hi Martin,
>
> There are three ways that I know of getting empty directories within a
> CVS repository into your local directory tree:
>
>   1) Put a file (even a pointless ".cvsignore") into the dir so that
>      its not empty.  This is the easiest thing to do and it is a good
>      habit, too.
>
>   2) Use "cvs up -d" and omit the "-P" option which will prune those
>      empty dirs.  ***NOTE***: you should make sure that your ~/.cvsrc
>      file does not have the "P" option listed as a default for the
>      update command or your CVS client will automatically prune empty
>      dirs!
>
>   3) If all else fails, do an explicit check-out to get the empty
>      directory that you *know* is there.
>
> good luck,
> Ed
>
> -- 
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
>              Cambridge, MA 02139-4307
> emails:  eh3 at mit.edu                ed at eh3.com
> URLs:    http://web.mit.edu/eh3/    http://eh3.com/
> phone:   617-253-0098
> fax:     617-253-4464
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list