Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: cvs-plugin
-
Labels:None
-
Environment:linux
-
Similar Issues:
Description
I create two cvs modules with the path
lib/flac-1.2.1
drv/linux/fuse
when it check out, got the error:
cvs checkout -P -D 29 Mar 2012 11:40:15 +0800 -d lib/flac-1.2.1 lib/flac-1.2.1
cvs [checkout aborted]: could not change directory to requested checkout directory `lib': No such file or directory
I've experienced the same issue and traced it down to a cvsnt inconvenience.
I'll try to explain my findings.
The -d argument gets passed to the server. The server process creates a local copy in a tmp dir for the checkout with that argument as name. It does not create the required subdirectories and thats why the checkout will fail. I assume your cvsnt/cvs server is running in a unix environment, because it works with backslashes for you. I've discovered the same workaround. It's working because backslashes are valid in unix filenames/directories, and the first level directory is created in the tmpdir.
I suggest not to pass the -d argument to the server, when doing 'partial checkouts' with subdirs.
I'd rather suggest to implement a client-side redirection of the files/directories.