https://bugzilla.novell.com/show_bug.cgi?id=561194
https://bugzilla.novell.com/show_bug.cgi?id=561194#c5
Thorsten Behrens changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
--- Comment #5 from Thorsten Behrens 2013-11-28 22:09:15 UTC ---
Works as designed. CVS treats (parts or all) of the path given as belonging to
the repository, even possibly shortening the path if it matches server-side
modules (see man-page). Looking at the strace output, there is
a chunk of:
29639 1385676021.748326 chdir("test1") = 0
29639 1385676021.748345 stat("CVS", 0x7fff9725be60) = -1 ENOENT (No such file
or directory)
29639 1385676021.748367 access("./CVS", F_OK) = -1 ENOENT (No such file or
directory)
29639 1385676021.748387 mkdir("./CVS", 0777) = -1 EACCES (Permission denied)
29639 1385676021.748411 write(2, "cvs checkout: warning: cannot make directory
CVS in .: Permission denied\n", 73) = 73
29639 1385676021.748439 open("CVS/Tag", O_RDONLY) = -1 ENOENT (No such file or
directory)
29639 1385676021.748461 open("CVS/Entries", O_RDONLY) = -1 ENOENT (No such file
or directory)
29639 1385676021.748483 write(2, "cvs checkout: in directory test1:\n", 34) =
34
29639 1385676021.748510 write(2, "cvs checkout: cannot open CVS/Entries for
reading: No such file or directory\n", 77) = 77
29639 1385676021.748543 open("CVS/Entries.Log", O_RDONLY) = -1 ENOENT (No such
file or directory)
29639 1385676021.748565 openat(AT_FDCWD, ".",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
29639 1385676021.748589 getdents(5, /* 3 entries */, 32768) = 80
29639 1385676021.748612 stat("./cvsroot/CVS", 0x7fff9725bdb0) = -1 ENOENT (No
such file or directory)
29639 1385676021.748633 getdents(5, /* 0 entries */, 32768) = 0
29639 1385676021.748652 close(5) = 0
29639 1385676021.748672 open("CVS/Entries.Log", O_WRONLY|O_CREAT|O_APPEND,
0666) = -1 ENOENT (No such file or directory)
29639 1385676021.748694 stat("CVS", 0x7fff9725be20) = -1 ENOENT (No such file
or directory)
29639 1385676021.748717 open("CVS/Entries.Static", O_RDWR|O_CREAT|O_TRUNC,
0666) = -1 ENOENT (No such file or directory)
29639 1385676021.748742 write(2, "cvs [checkout aborted]: cannot open
CVS/Entries.Static: No such file or directory\n", 82) = 82
, i.e. if not existing, CVS attempts to create CVS/ subdirs in all intermediate
directory levels.
There's an easy workaround though:
Instead of
cvs -d /home/u1/DIR1 checkout mod1,
do a
cd /home/u1/DIR1; cvs checkout mod1
(if necessary set CVSROOT env var, or specify via -d:pserver:...).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.