[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange dir behavior and Emptydir
From: |
Larry Jones |
Subject: |
Re: Strange dir behavior and Emptydir |
Date: |
Thu, 28 Jun 2001 18:00:47 -0400 (EDT) |
Pyatt, Scott writes:
>
> I tried the following:
>
> cd parentDir
> mkdir theDir
> cvs add theDir
>
> For this example assume "parentDir" is "/dirA/dirB/dirC". The command
> produced the following output.
>
> Directory /cvsroot/CVSROOT/Emptydir/theDir added to the repository
You're running an old version of CVS -- the current version (1.11.1p1,
which you can get from www.cvshome.org) wouldn't have allowed you to
create that directory.
The problem is that parentDir isn't mapped to the repository directory
you think it should be. In fact, it isn't mapped to any repository
directory at all -- that's what Emptydir is used for, a place to map
working directories that don't have any obvious mapping. This is
usually the result of using -d, either in the checkout command or in the
module file, with multiple levels of directories specified; none but the
last level has an obvious mapping. The current version of CVS is much
better at inferring mappings than previous versions were, which may be
another good reason to upgrade.
Feel free to edit CVS/Repository in that directory to point to the
repository directory you expect it to map to, which should solve your
problem.
-Larry Jones
Isn't it sad how some people's grip on their lives is so precarious
that they'll embrace any preposterous delusion rather than face an
occasional bleak truth? -- Calvin