bug-cvs
[Top][All Lists]
Advanced

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

Bug: "cvs.exe co -l -d . ." results in error:"cannot open CVS/Entries fo


From: Peter Kass
Subject: Bug: "cvs.exe co -l -d . ." results in error:"cannot open CVS/Entries for reading"
Date: Thu, 21 Apr 2005 00:30:15 +0200

Hi,

Server: i386 Linux RedHat 7.3, cvs 2.12.10
Client: i386 Windows XP SP1 or SP2, cvs.exe 2.12.11 or 2.12.9 or 2.12.10 or
2.11.2.
CVSROOT=:pserver:pkass@eisux217:/users/000_600/cvs_repository

For some historical reasons my repository contains files in the repository
root. To obtain these files I called:

cvs co -l -d . .


This works fine on Linux with cvs 1.12.10 ( server and client ).
This works well too on Windows NT/XP with the CVSNT - Client "cvs.exe"
from CVSNT version 2.0.51d and CVSNT version 2.0.58d.

But this does not work neither with the cvs.exe 1.12.9, nor 1.12.10, nor
1.12.11,
nor 1.11.20 (downloaded from
https://ccvs.cvshome.org/servlets/ProjectDocumentList?folderID=83&expandFold
er=83&folderID=80 )

(But it works - of course - if there is a CVS directory with correct 
Entries, Root, and Repository files in it.)

Paradoxically following calls DO work even in an empty directory:

cvs co -l -d workspace .

  and

cvs co -l -d . subdir

It is clear, that there is no reason, that "cvs co -l -d . ." does NOT work
(only on
WINNT !), therefore it's clearly a bug.

That is the normal output of the command ( cvs.exe 1.11.20 ):
----------------------------------------------------------------------------
---
G:\temp\workspace>cvs.exe co -l -d .  .
cvs.exe checkout: cannot open CVS/Entries for reading: No such file or
directory

cvs.exe [checkout aborted]: no repository
----------------------------------------------------------------------------
---

That is the output with trace on ( cvs.exe 1.11.20 ):
----------------------------------------------------------------------------
---
G:\temp\workspace>cvs.exe -t co -l -d .  .
-> main loop with
CVSROOT=:pserver:pkass@eisux217:/users/000_600/cvs_repository
-> safe_location( where=. )
 -> Connecting to eisux217(192.168.150.217):2401
cvs.exe checkout: warning: unrecognized response `S -> serve_directory (.)'
from cvs server
cvs.exe checkout: warning: unrecognized response `S -> dirswitch (.,
/users/000_600/cvs_repository)' from cvs server
cvs.exe checkout: warning: unrecognized response `S -> my_module (.,
Updating, NULL, NULL)' from cvs server
cvs.exe checkout: cannot open CVS/Entries for reading: No such file or
directory
cvs.exe [checkout aborted]: no repository
-> Lock_Cleanup()
----------------------------------------------------------------------------
---

That is the output of the CVSNT 2.0.58d - client, where it works:
----------------------------------------------------------------------------
---
G:\temp\workspace>D:\Programme\TortoiseCVS\cvs.exe -t co -l -d . .
  -> Tracelevel set to 1.  PID is 3112
  -> Session ID is c284266d4550657
  -> main loop with
CVSROOT=:pserver:pkass@eisux217:/users/000_600/cvs_repository
cvs checkout: warning: unrecognized response `S -> serve_directory (.)' from
cvs server
cvs checkout: warning: unrecognized response `S -> dirswitch (.,
/users/000_600/cvs_repository)' from cvs server
cvs checkout: warning: unrecognized response `S -> my_module (., Updating,
NULL, NULL)' from cvs server
cvs checkout: warning: unrecognized response `S -> serve_directory (.)' from
cvs server
cvs checkout: warning: unrecognized response `S -> dirswitch (.,
/users/000_600/cvs_repository)' from cvs server
cvs checkout: warning: unrecognized response `S -> do_cvs_command
(checkout)' from cvs server
cvs checkout: warning: unrecognized response `S -> server_notify()' from cvs
server
  -> Create_Admin (., ., ., , , 0, 1)
  -> unlink(CVS/Entries.Static)
cvs checkout: Updating .
U DllBaseAddr.txt
  -> rename(_new_DllBaseAddr.txt,DllBaseAddr.txt)
  -> Register(DllBaseAddr.txt, 1.7, Thu Jul 18 09:50:07 2002, ,  , , , *, )
S -> safe_location( where=(null) )
S -> my_module (., Updating, NULL, NULL)
S -> checkout_proc ((null), (null), (null), 0, 1, ., Updating)

S -> fopen(/users/000_600/cvs_repository/CVSROOT/history,a)
S -> unlink_file(./CVS/Entries.Static)
S -> Write_Template (., /users/000_600/cvs_repository)
S -> Parse_Info (/users/000_600/cvs_repository/CVSROOT/rcsinfo, , ALL)
S -> Reader_Lock(/users/000_600/cvs_repository)
S -> RCS_checkout (/users/000_600/cvs_repository/DllBaseAddr.txt,v, 1.7, , ,
(function))
S -> server_register(DllBaseAddr.txt, 1.7, , , , , )
S -> Register(DllBaseAddr.txt, 1.7, , ,  )
S -> RCS_checkout (/users/000_600/cvs_repository/Libs.pro,v, 1.1, , ,
(function))
S -> server_register(Libs.pro, 1.1, , , , , )
S -> Register(Libs.pro, 1.1, , ,  )
S -> RCS_checkout (/users/000_600/cvs_repository/Makefile,v, 1.6, , ,
(function))
S -> server_register(Makefile, 1.6, , , , , )
S -> Register(Makefile, 1.6, , ,  )
S -> RCS_checkout (/users/000_600/cvs_repository/README_FIRST.htm,v, 1.9, ,
, (function))
S -> server_register(README_FIRST.htm, 1.9, , , , , )
S -> Register(README_FIRST.htm, 1.9, , ,  )
U Libs.pro
  -> rename(_new_Libs.pro,Libs.pro)
  -> Register(Libs.pro, 1.1, Mon Dec 20 16:00:03 2004, ,  , , , *, )
U Makefile
  -> rename(_new_Makefile,Makefile)
  -> Register(Makefile, 1.6, Tue Jun  5 20:00:55 2001, ,  , , , *, )
U README_FIRST.htm
  -> rename(_new_README_FIRST.htm,README_FIRST.htm)
  -> Register(README_FIRST.htm, 1.9, Fri Mar 26 12:18:07 2004, ,  , , , *, )
S -> RCS_checkout (/users/000_600/cvs_repository/Readme.txt,v, 1.31, , ,
(function))
S -> server_register(Readme.txt, 1.31, , , , , )
S -> Register(Readme.txt, 1.31, , ,  )
U Readme.txt
  -> rename(_new_Readme.txt,Readme.txt)
  -> Register(Readme.txt, 1.31, Wed Mar 31 09:34:26 2004, ,  , , , *, )
[snip]
----------------------------------------------------------------------------
---

Sincerely,

DI Peter Kass
Auergütlweg 6
A-4030 Linz

mailto:peter@kass.at

Tel.: +43 / 732 / 31 56 90     (priv)
      +43 / 699 / 8 11 00 66 9 (cell)
      +43 / 732 / 33701 - 557  (office - ETM)






reply via email to

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