Reputation: 42828
I'm trying to clone an old CVS repository with:
cvs -z3 -d:pserver:[email protected]:/cvsroot/ivan co -P ivan
However, one of the directories in the repository contains a seemingly invalid character in its name, shown as �
in ViewVC and as ?
in the error message cvs co
gives me:
cvs [checkout aborted]: cannot make directory CVS in ivan/Doc/Ty?t: No such file or directory
How can I fix this? I'm okay with excluding the directory from the checkout if renaming it isn't possible.
Upvotes: 1
Views: 271
Reputation: 42828
I solved this by running the co
command twice.
On the first run, CVS stops the checkout when it encounters the directory with the invalid name. On the second run, it adds all the remaining files it didn't import on the first run (except the invalid directory).
It also complains cvs checkout: cannot remove ivan/Doc/Ty?t: No such file or directory
after the second co
. The directory is there, named Ty%F6t
, but it's empty.
Upvotes: 1