bug-cvs
[Top][All Lists]
Advanced

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

Bug where added dirs go to CVSROOT/Emptytdir


From: Simpson, Michael D.
Subject: Bug where added dirs go to CVSROOT/Emptytdir
Date: Tue, 21 Nov 2000 09:42:37 -0500

This is a situation where CVS tries adding a new directory erroneously to
CVSROOT/Emptydir:

# The CVS repository looks like this 
> ls -RF
        CVSROOT/     enterprise/

        ./CVSROOT:
        checkoutlist     commitinfo,v     cvswrappers      editinfo,v
loginfo,v        notify           rcsinfo,v        verifymsg
        checkoutlist,v   config           cvswrappers,v    history
modules          notify,v         taginfo          verifymsg,v
        commitinfo       config,v         editinfo         loginfo
modules,v        rcsinfo          taginfo,v

        ./enterprise:
        root/  src/

        ./enterprise/root:

        ./enterprise/src:
        client/  server/

        ./enterprise/src/client:

        ./enterprise/src/server:

# The "modules" file has these definitions: (All other admin files are
unchanged)

        src                     enterprise/src 
         
        client_src      -a      src/client  
         
        client_dev              enterprise/root   &client_src 
 
# I check out the module "client_dev":
> cvs co client_dev
cvs checkout: Updating client_dev
cvs checkout: Updating src/client

# I cd to client_dev/src
> cd client_dev/src

# I make a dir
> mkdir shared

# Then I "cvs add" it, and CVS tries to add it to the "Emptydir" instead of
in "src"
> cvs add shared
# CVS 1.11 reports:
cvs [add aborted]: cannot add to
/home/simpsomd/tmp3/cvsroot/CVSROOT/Emptydir
# CVS 1.10 reports
Directory /home/simpsomd/tmp2/cvsroot/CVSROOT/Emptydir/shared added to the
repository

# In the 1.10 case, I can go into the repository and move the directory
manually to the correct place and it works for new checkouts. In the 1.11
case, I'm not sure what to do.






reply via email to

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