What, if I check out test/sub1 and test/sub2 in two different directories and then move the sub2 into the sub1 directory? Shouldn't this produce the same results as with the two different checkouts as shown below?

Tom


[EMAIL PROTECTED] wrote:
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:

[EMAIL PROTECTED]:~$ mkdir cvstest
[EMAIL PROTECTED]:~$ cd cvstest
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/cvstest$ cd sub1
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/cvstest/sub1$ cat CVS/Entries
/test1.txt/1.1/Tue Feb 22 18:39:14 2005/-ko/
D
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/cvstest/sub1$ cat CVS/Entries
/test1.txt/1.1/Tue Feb 22 18:39:14 2005/-ko/
D
[EMAIL PROTECTED]:~/cvstest/sub1$ cat CVS/Entries.Log
A D/sub2////
[EMAIL PROTECTED]:~/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



_______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs

Reply via email to