bug-cvs
[Top][All Lists]
Advanced

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

'checkout -d .' problems


From: Jim.Hyslop
Subject: 'checkout -d .' problems
Date: Mon, 7 Jun 2004 10:23:06 -0400

If you use the command

cvs co -d . [filename]

and specify a particular file, then CVS will die with one of two messages,
depending on whether or not there is a ./CVS subdirectory:

cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: no repository

or 

cvs server: existing repository /cvs does not match /cvs/cvs-test/jhyslop
cvs server: ignoring module cvs-test/jhyslop/test.txt

The exact command given was cvs co -d . cvs-test/jhyslop/test.txt

On the other hand, if I supply any directory name instead of '.' then CVS
quite happily creates dirname/file.txt

I want to check out the specified file into the current directory. Is there
some reason this should not be allowed, or should I submit a patch for this
odd behaviour?

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)







reply via email to

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