info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Strange dir behavior and Emptydir - root cause


From: Pyatt, Scott
Subject: RE: Strange dir behavior and Emptydir - root cause
Date: Thu, 28 Jun 2001 19:11:34 -0700

Larry,

If I understand correctly, CVS version 1.11.1p1 solves the problem of
inadvertently creating directories in $CVSROOT/Emptydir, but what about the
root cause of this problem which is CVS losing track of which repository
directory is mapped to the workspace directory when -d used in a modules
file with multiple levels of directories?  Is this resolved in 1.11.1p1?

Thanks,
-Scott

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Thursday, June 28, 2001 3:01 PM
To: Pyatt, Scott
Cc: address@hidden; Gupta, Neil
Subject: Re: Strange dir behavior and Emptydir


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

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]