bug-cvs
[Top][All Lists]
Advanced

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

Re: Unexpected directory-entry in CVS/Entries


From: gnu-cvs
Subject: Re: Unexpected directory-entry in CVS/Entries
Date: Wed, 23 Feb 2005 16:35:03 +0100
User-agent: Mozilla Thunderbird 0.6+ (Windows/20050127)

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


gnu-cvs@regnis.de 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:

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