[MITgcm-devel] Re: [MITgcm-cvs] MITgcm/doc CVS Commit
Ed Hill
ed at eh3.com
Wed Sep 1 10:21:33 EDT 2004
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
More information about the MITgcm-devel
mailing list