Discussion:
two questions about using cvs checkout
zhangjiyong
2002-11-21 05:58:12 UTC
Permalink
Hi,everyone
I have 2 questions:
1. sometimes when i checkout a folder of a file,the cvs system complain:

C:\>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d temp2 zjy_test/temp/cvsgui\cv
sgui.h
cvs checkout: in directory .:
cvs [checkout aborted]: *PANIC* administration files missing

It doesn't happen every time.what the means of "administration files missing"?
and why?

2.how can i checkout a file of folder to my root directory,for example, c:\
the following is what i have tried:

C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ..\..\ zjy_test/a.txt
cvs checkout: ignoring ..\..\ (CVS/Repository missing)

C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ../../ zjy_test/a.txt
cvs checkout: ignoring ../../ (CVS/Repository missing)
cvs server: protocol error: `../../' contains more leading ..
cvs [server aborted]: than the 0 which Max-dotdot specified


C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ../ zjy_test/a.txt
cvs server: protocol error: `../' contains more leading ..
cvs [server aborted]: than the 0 which Max-dotdot specified


C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ./../ zjy_test/a.txt
cvs server: protocol error: `./../' contains more leading ..
cvs [server aborted]: than the 0 which Max-dotdot specified


C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ..\ zjy_test/a.txt
U ../a.txt

C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d \ zjy_test/a.txt
cvs [server aborted]: absolute pathname `\' illegal for server


C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d / zjy_test/a.txt
cvs [server aborted]: absolute pathname `/' illegal for server

thanks in advance.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Oliver Giesen
2002-11-27 11:55:37 UTC
Permalink
First off, sorry for the late reply.
Post by zhangjiyong
C:\>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d temp2
zjy_test/temp/cvsgui\cv
Post by zhangjiyong
sgui.h
cvs [checkout aborted]: *PANIC* administration files missing
It doesn't happen every time.what the means of "administration files missing"?
and why?
I'm not 100% sure but IIRC this a problem with the checkout -d option, when
run from a non-CVS folder. "Administration files missing" means that CVS
cannot find a ./CVS folder with the necessary meta data. Have you already
tried without the -d option?
Anyway, if the above command were to succeed you would get a *file* with the
name "c:\temp2" and the contents of the original cvsgui.h. Is this really
what you want?
Post by zhangjiyong
2.how can i checkout a file of folder to my root directory,for example, c:\
C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ..\..\ zjy_test/a.txt
cvs checkout: ignoring ..\..\ (CVS/Repository missing)
Why don't you just run the command from c:\ and without the -d option?
Post by zhangjiyong
C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ../../ zjy_test/a.txt
cvs checkout: ignoring ../../ (CVS/Repository missing)
cvs server: protocol error: `../../' contains more leading ..
cvs [server aborted]: than the 0 which Max-dotdot specified
Never heard of that Max-dotdot setting. Must be something specific to your
server.

Also, could you maybe post the versions of your cvs client and server?

Hope this helps.

Oliver
-----------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Oliver Giesen
2002-11-28 15:33:13 UTC
Permalink
Post by Oliver Giesen
Post by Oliver Giesen
Why don't you just run the command from c:\ and without the
-d option?
if I don't use -d option, the result is not what i
need(c:\zjy_test\a.txt.
what i need is : c:\a.txt
I'm stumped. I just did some tests and I'm definitely not able to
checkout an individual file from a module to the directory I'm
invoking the command from however hard I try. Does anyone have an idea
about this? The only way I could think of in this case would be to
fake the admin files but that definitely seems like too much hassle
for such a simple task.
Post by Oliver Giesen
Post by Oliver Giesen
Also, could you maybe post the versions of your cvs client
and server?
client and server: CVSNT-1.11.3
With CVSNT the significant bit about the version number is the build
number. In fact there even were 11 different releases of CVSNT
1.11.1.3 build 57 alone (i.e. a through k) over a time span of seven
months. The most recent build is 62 but anyway, that's the one I
tested with and I could only confirm that it doesn't work or rather
that I wasn't able to find a way to make it work.

Any ideas out there?

BTW: Please do not reply in private to list mail. There's a much
larger audience and therefore a much higher chance of getting a good
answer if you keep discussion on the list.
Also, in the recent past many people CC'd me in addition to replying
to the list. This is absolutely unnecessary as ***@gmx.net already
is the address where my list mail ends up anyway.

Cheers,

Oliver
---- ------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)
Post by Oliver Giesen
-----Original Message-----
Sent: Donnerstag, 28. November 2002 02:04
Subject: Re:Re: [cvsgui]two questions about using cvs checkout
----- Original Message -----
Sent: 2002-11-28 03:55:37
Subject: Re: [cvsgui]two questions about using cvs checkout
Post by Oliver Giesen
First off, sorry for the late reply.
Post by zhangjiyong
1. sometimes when i checkout a folder of a file,the cvs system
C:\>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d temp2
zjy_test/temp/cvsgui\cv
Post by zhangjiyong
sgui.h
cvs [checkout aborted]: *PANIC* administration files missing
It doesn't happen every time.what the means of
"administration files
Post by Oliver Giesen
missing"?
Post by zhangjiyong
and why?
I'm not 100% sure but IIRC this a problem with the checkout
-d option, when
Post by Oliver Giesen
run from a non-CVS folder. "Administration files missing"
means that CVS
Post by Oliver Giesen
cannot find a ./CVS folder with the necessary meta data.
Have you already
Post by Oliver Giesen
tried without the -d option?
I tried without the -d option.it works,but the result is not
what i need.
Post by Oliver Giesen
Anyway, if the above command were to succeed you would get a
*file* with the
Post by Oliver Giesen
name "c:\temp2" and the contents of the original cvsgui.h.
Is this really
Post by Oliver Giesen
what you want?
YES.That' what i want to do.I want to checkout a specific
folder or file to
a specific local folder.
Post by Oliver Giesen
Post by zhangjiyong
2.how can i checkout a file of folder to my root
directory,for example,
Post by Oliver Giesen
c:\
Post by zhangjiyong
C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ..\..\
zjy_test/a.txt
Post by zhangjiyong
cvs checkout: ignoring ..\..\ (CVS/Repository missing)
Why don't you just run the command from c:\ and without the
-d option?
if I don't use -d option, the result is not what i
need(c:\zjy_test\a.txt.
what i need is : c:\a.txt
Post by Oliver Giesen
Post by zhangjiyong
C:\temp\a>cvs -d :pserver:172.28.11.142:f:/cvsdata co -d ../../
zjy_test/a.txt
Post by zhangjiyong
cvs checkout: ignoring ../../ (CVS/Repository missing)
cvs server: protocol error: `../../' contains more leading ..
cvs [server aborted]: than the 0 which Max-dotdot specified
Never heard of that Max-dotdot setting. Must be something
specific to your
Post by Oliver Giesen
server.
Also, could you maybe post the versions of your cvs client
and server?
client and server: CVSNT-1.11.3
Post by Oliver Giesen
Hope this helps.
Oliver
-----------------------
ICQ: 18777742
(http://wwp.icq.com/18777742)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Bo Berglund
2002-11-28 16:03:05 UTC
Permalink
There is a long-standing problem with CVS or maybe just CVSNT
that it cannot do a checkout or export to the root of the drive.
Apparently it tries to access the directory above to do something
and this does obviously not exist so you get the error.
A minor problem though because it would be natural for every
developer to have his development modules in a subdir of the
drive root rather than cluttering root with a bunch of folders.

Anyway, I don't see a way out unless Tony digs in to this rather
minor problem.

/Bo

-----Original Message-----
From: Oliver Giesen [mailto:***@gmx.net]
Sent: den 28 november 2002 16:33
To: ***@yahoogroups.com
Subject: RE: Re: [cvsgui]two questions about using cvs checkout
Post by Oliver Giesen
Post by Oliver Giesen
Why don't you just run the command from c:\ and without the
-d option?
if I don't use -d option, the result is not what i
need(c:\zjy_test\a.txt.
what i need is : c:\a.txt
I'm stumped. I just did some tests and I'm definitely not able to
checkout an individual file from a module to the directory I'm
invoking the command from however hard I try. Does anyone have an idea
about this? The only way I could think of in this case would be to
fake the admin files but that definitely seems like too much hassle
for such a simple task.
Post by Oliver Giesen
Post by Oliver Giesen
Also, could you maybe post the versions of your cvs client
and server?
client and server: CVSNT-1.11.3
With CVSNT the significant bit about the version number is the build
number. In fact there even were 11 different releases of CVSNT
1.11.1.3 build 57 alone (i.e. a through k) over a time span of seven
months. The most recent build is 62 but anyway, that's the one I
tested with and I could only confirm that it doesn't work or rather
that I wasn't able to find a way to make it work.

Any ideas out there?

BTW: Please do not reply in private to list mail. There's a much
larger audience and therefore a much higher chance of getting a good
answer if you keep discussion on the list.
Also, in the recent past many people CC'd me in addition to replying
to the list. This is absolutely unnecessary as ***@gmx.net already
is the address where my list mail ends up anyway.

Cheers,

Oliver
---- ------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Oliver Giesen
2002-11-28 16:17:32 UTC
Permalink
Post by Bo Berglund
There is a long-standing problem with CVS or maybe just CVSNT
that it cannot do a checkout or export to the root of the drive.
Apparently it tries to access the directory above to do something
and this does obviously not exist so you get the error.
A minor problem though because it would be natural for every
developer to have his development modules in a subdir of the
drive root rather than cluttering root with a bunch of folders.
Anyway, I don't see a way out unless Tony digs in to this rather
minor problem.
Maybe I didn't make myself clear enough: This particular problem has
nothing to with the checkout target being the drive root. I tried the
following in c:\Temp :

C:\TEMP>cvs -d:sspi:lt04:/ogroot co -d. cvsgui
cvs server: existing repository D:/ogroot does not match
D:/ogroot/cvsgui
cvs server: ignoring module cvsgui

Whichever variation or trickstery I try with the -d option, it never
works. The only thing that works is faking the ./CVS directory and the
files therein.

Cheers,

Oliver
---- ------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Jerry Rammelaere
2002-11-28 17:33:59 UTC
Permalink
Oliver,
Following the logic of checking out, if you want to checkout a file to C:\temp, I would expect you should enter the following:
cvs co -d temp <module/file> from within C:\
that is, if you want this file to be checked out in C:\temp.
Hope this makes things clear ...
Regards,
Jerry
Post by Bo Berglund
that it cannot do a checkout or export to the root of the drive.
Apparently it tries to access the directory above to do something
and this does obviously not exist so you get the error.
A minor problem though because it would be natural for every
developer to have his development modules in a subdir of the
drive root rather than cluttering root with a bunch of folders.
Anyway, I don't see a way out unless Tony digs in to this rather
minor problem.
Maybe I didn't make myself clear enough: This particular problem has
nothing to with the checkout target being the drive root. I tried the
following in c:\Temp :

C:\TEMP>cvs -d:sspi:lt04:/ogroot co -d. cvsgui
cvs server: existing repository D:/ogroot does not match
D:/ogroot/cvsgui
cvs server: ignoring module cvsgui

Whichever variation or trickstery I try with the -d option, it never
works. The only thing that works is faking the ./CVS directory and the
files therein.

Cheers,

Oliver
---- ------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)


Yahoo! Groups SponsorADVERTISEMENT

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs


[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Bo Berglund
2002-11-28 17:59:00 UTC
Permalink
Yes, that is what I meant, you have to be one level above whetever place the checkout or export
aims at. Don't know why. I get exactly the same strange behaviour...

C:\TEMP>cvs -d:sspi:3rappl01:/tool export -r HEAD -d . backupfiles
cvs [export aborted]: cannot export into working directory

There is of course no working directory unless one counts the current directory as a working dir.
My definition of a working directory is one that contains a folder CVS with the admin files inside.

Maybe it can be fixed after all. When I found a similar bug in the export command (creation of CVS folders
in subdirectories and then failing because of these) Tony fixed it in a jiffy.

/Bo

-----Original Message-----
From: Jerry Rammelaere [mailto:***@yahoo.com]
Sent: den 28 november 2002 18:34
To: ***@yahoogroups.com
Subject: RE: Re: [cvsgui]two questions about using cvs checkout



Oliver,
Following the logic of checking out, if you want to checkout a file to C:\temp, I would expect you should enter the following:
cvs co -d temp <module/file> from within C:\
that is, if you want this file to be checked out in C:\temp.
Hope this makes things clear ...
Regards,
Jerry
Post by Bo Berglund
that it cannot do a checkout or export to the root of the drive.
Apparently it tries to access the directory above to do something
and this does obviously not exist so you get the error.
A minor problem though because it would be natural for every
developer to have his development modules in a subdir of the
drive root rather than cluttering root with a bunch of folders.
Anyway, I don't see a way out unless Tony digs in to this rather
minor problem.
Maybe I didn't make myself clear enough: This particular problem has
nothing to with the checkout target being the drive root. I tried the
following in c:\Temp :

C:\TEMP>cvs -d:sspi:lt04:/ogroot co -d. cvsgui
cvs server: existing repository D:/ogroot does not match
D:/ogroot/cvsgui
cvs server: ignoring module cvsgui

Whichever variation or trickstery I try with the -d option, it never
works. The only thing that works is faking the ./CVS directory and the
files therein.

Cheers,

Oliver
---- ------------------
JID: ***@jabber.org
ICQ: 18777742
(http://wwp.icq.com/18777742)


Yahoo! Groups SponsorADVERTISEMENT

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs


[Non-text portions of this message have been removed]



To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Continue reading on narkive:
Loading...