To: [EMAIL PROTECTED]
Subject:
From: gerrit
Reply-To: gerrit
X-send-pr-version: 3.2
>Submitter-Id: net
>Originator:
>Organization:
net
>Confidential: <no
>Synopsis: atempting to use global option -n to stop transmission
of data from server results in "E cvs [server aborted]:there is no
version here; run 'cvs checkout' first"
>Severity: <non-critical] >
>Priority: < low >
>Category: cvs pserver
>Class: < sw-bug && doc-bug >
>Release: cvs-1.10.8.1
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux cvs.online.swin.edu.au 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT
1999 i686 unknown
Architecture: i686
>Description:
I am attempting to write a cvs client, currently in php to be
trranslated into a php library. Problem is to fiund out what files and
directory structures are in a module without actually checking it out.
I thought to use the global option of "-n" to signal the server to not
send data. For some reason though this requires an admin directory "CVS"
for use in doing the recursive checkout nad yet if the global option is
not set then the CVS directory is not required.
This seems to be a bug, I have tried to locate the problem in the code
of the server and have yet to located it.
>From a protocol error point of view it seems that the server is looking
at information that the client is unaware it is supposed to send. I
could not find anywhere and indication that entries are required when
doing a checkout.
>How-To-Repeat:
inan empty directory do
cvs -n -d /usr/local/cvsroot co CVSROOT
>Fix:
My workaround at the moment is to use the pipe option of the co command
but I stell get the data even though is is as messages. I reallky don;t
what the file data , just the directory and file structure.
>From a protocol point of view I thought that a file size of "-1" could
indicate that no file data is being sent.
Cheers,
Gerrit Thomson.
~