# CVSImport - spaces in CVS path

2 messages from 2016-11-30 to 2016-12-01. Participants: Yojoa, David Aguilar.
Thread: https://gitlist.dev/t/44576

## Yojoa, 2016-11-30 20:56

Subject: CVSImport - spaces in CVS path
Message-ID: <1480539395581-7657459.post@n2.nabble.com>
URL: https://gitlist.dev/e/1480539395581-7657459.post%40n2.nabble.com

```
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, 2016-12-01 09:59

Subject: Re: CVSImport - spaces in CVS path
Message-ID: <20161201095933.GA1550@gmail.com>
URL: https://gitlist.dev/e/20161201095933.GA1550%40gmail.com
In-Reply-To: <1480539395581-7657459.post@n2.nabble.com>

```
On Wed, Nov 30, 2016 at 01:56:35PM -0700, Yojoa wrote:
> 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

```
