Skip to contentSkip to conversation

CVSImport - spaces in CVS path

DISCUSSION Yojoa 2 participants 2 messages Nov 30, 2016 – Dec 1, 2016

lore
Share & tools
lore

Yojoa

author
#0 lore raw

I'm in the process of moving an entire collection of cvs modules into git. I'm working in Mac Yosemite. Everything is working fine except for one thing. A couple of the CVS modules have spaces in the paths. Below is what my command line looks like. When the path has spaces I've tried putting it in single and double quotes and using escape characters. None of that matters. I always get a message that it can't read dir/dir/path and then messages that it can't find the modules "with" or "spaces".

git cvsimport -v -d :pserver:MYLOGIN:/usr/local/cvsroot/ dir/dir/PathWithNoSpaces/dir

git cvsimport -v -d :pserver:MYLOGIN:/usr/local/cvsroot/ dir/dir/path with spaces/dir

--
View this message in context: http://git.661346.n2.nabble.com/CVSImport-spaces-in-CVS-path-tp7657459.html
Sent from the git mailing list archive at Nabble.com.

#1 lore raw
Quoted 8 lines · Yojoa

I'm in the process of moving an entire collection of cvs modules into git. I'm working in Mac Yosemite. Everything is working fine except for one thing. A couple of the CVS modules have spaces in the paths. Below is what my command line looks like. When the path has spaces I've tried putting it in single and double quotes and using escape characters. None of that matters. I always get a message that it can't read dir/dir/path and then messages that it can't find the modules "with" or "spaces".

Quoted 5 lines

git cvsimport -v -d :pserver:MYLOGIN:/usr/local/cvsroot/ dir/dir/PathWithNoSpaces/dir

git cvsimport -v -d :pserver:MYLOGIN:/usr/local/cvsroot/ dir/dir/path with spaces/dir

Try cvs-fast-export + cvsconvert.

http://www.catb.org/~esr/cvs-fast-export/

http://www.catb.org/~esr/cvs-fast-export/cvsconvert.html

Signature · 1 line
David