bug-cvs
[Top][All Lists]
Advanced

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

Is this a bug ?


From: zeger_hendrix
Subject: Is this a bug ?
Date: Tue, 6 Aug 2002 11:30:00 +0200

Hello,
 
I have something to report about CVS that doesn't seem to be normal behaviour...
 
Suppose you have a structure like this:
   
    rootdir
        |
        |--- DATABASE
        |            |
        |            |--- datadir
        |
        |--- workdir
 
Now go to "workdir" and do "cvs checkout datadir".
Now go into the checked out "datadir" and do "cvs checkout datadir".
You now have this:
 
    rootdir
        |
        |--- DATABASE
        |            |
        |            |--- datadir
        |
        |--- workdir
                 |
                 |--- datadir
                          |
                          |--- CVS
                          |
                          |--- datadir
                                   |
                                   |--- CVS
 
If you now go up to the level of "workdir" again, and run "cvs status datadir", this works fine...
The output of the status command:
    cvs status: Examining datadir
    cvs status: Examining datadir/datadir
 
Now go into the first "datadir" again, and do "cvs release -d datadir".
Go up to the level of "workdir" again, and run "cvs status datadir".
The output of the status command is now:
    cvs status: Examining datadir
    cvs status: Examining datadir/datadir
   
cvs [status aborted]: could not chdir to datadir: No such file or directory
 
This happens because the file "Entries" in the directory "rootdir/workdir/datadir/CVS" still
contains the line "D/datadir////".
I would have thought that the command "cvs release -d datadir" would have cleared this line from
the "Entries"-file.
 
My questions are :
 
Is it normal that this line is not cleared ?
 
Is it normal that the "cvs status" command aborts when it doesn't find a directory
corresponding to the "Entries"-file ?
 
 
Thanks in advance,



Zeger Hendrix
Design Engineer
Sirius Mobile Research & Design

Agilent Technologies Belgium S.A. / N.V.
Wingepark 51
B-3110 Rotselaar
Belgium

+32(16) 46.97.16 Tel
+32(16) 44.54.81 Fax
404-9716 Telnet
http://www.agilent.com


 
 
 

reply via email to

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