bug-cvs
[Top][All Lists]
Advanced

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

Unexpected directory-entry in CVS/Entries


From: gnu-cvs
Subject: Unexpected directory-entry in CVS/Entries
Date: Wed, 23 Feb 2005 08:57:30 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hi,

I have a simple project in the repository:

[repository-root]
 + test/
   + sub1/
   | + test1.txt
   + sub2/
     + test2.txt

Now I check out test/sub1 and test/sub2 nested in each other:

address@hidden:~$ mkdir cvstest
address@hidden:~$ cd cvstest
address@hidden:~/cvstest$ cvs-1.12.11 -d :local:/misc/repository checkout -d sub1 test/sub1
cvs-1.12.11 checkout: Updating sub1
U sub1/test1.txt
address@hidden:~/cvstest$ cd sub1
address@hidden:~/cvstest/sub1$ ls -al CVS
insgesamt 20
drwxr-xr-x    2 singer   singer       4096 2005-02-23 08:46 .
drwxr-xr-x    3 singer   singer       4096 2005-02-23 08:46 ..
-rw-r--r--    1 singer   singer         47 2005-02-23 08:46 Entries
-rw-r--r--    1 singer   singer         10 2005-02-23 08:46 Repository
-rw-r--r--    1 singer   singer         24 2005-02-23 08:46 Root
address@hidden:~/cvstest/sub1$ cat CVS/Entries
/test1.txt/1.1/Tue Feb 22 18:39:14 2005/-ko/
D
address@hidden:~/cvstest/sub1$ cvs-1.12.11 -d :local:/misc/repository checkout -d sub2 test/sub2
cvs-1.12.11 checkout: Updating sub2
U sub2/test2.txt
address@hidden:~/cvstest/sub1$ ls -al CVS
insgesamt 24
drwxr-xr-x    2 singer   singer       4096 2005-02-23 08:47 .
drwxr-xr-x    4 singer   singer       4096 2005-02-23 08:47 ..
-rw-r--r--    1 singer   singer         47 2005-02-23 08:46 Entries
-rw-r--r--    1 singer   singer         13 2005-02-23 08:47 Entries.Log
-rw-r--r--    1 singer   singer         10 2005-02-23 08:46 Repository
-rw-r--r--    1 singer   singer         24 2005-02-23 08:46 Root
address@hidden:~/cvstest/sub1$ cat CVS/Entries
/test1.txt/1.1/Tue Feb 22 18:39:14 2005/-ko/
D
address@hidden:~/cvstest/sub1$ cat CVS/Entries.Log
A D/sub2////
address@hidden:~/cvstest/sub1$

As you can see, for some mysterious reason, CVS 1.12.11 creates an entry for sub2 in the parent's CVS/Entries(.Log). This also happens when the second checkout comes from a different repository. When both checkouts come from the same repository, a "cvs update sub2/test2.txt" works, but it fails when both come from a different repository.

What do you think about it? Is this correct behaviour to "link" independent working copied together using the entry? Shouldn't the entries and the CVS/Repository content form a valid hierarchy as well as the file system outside of the CVS-directories?

--
Best regards,
Thomas Singer
_____________
smartcvs.com




reply via email to

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