threads / discuss / 44576

CVSImport - spaces in CVS path

Subject: CVSImport - spaces in CVS path

## tl;dr

2 messages between Nov 30, 2016 and Dec 1, 2016.

replies: 1people: 2as markdown or json

Yojoa· Nov 30, 2016, 20:56 UTC · lore

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.

David Aguilar· Dec 1, 2016, 09:59 UTC · re: Yojoa · lore

Re: CVSImport - spaces in CVS path

On Wed, Nov 30, 2016 at 01:56:35PM -0700, Yojoa wrote:
Show 13 quoted lines
> 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
Try cvs-fast-export + cvsconvert.
http://www.catb.org/~esr/cvs-fast-export/
http://www.catb.org/~esr/cvs-fast-export/cvsconvert.html
-- 
David

← back to recent threads