# Not a valid object name refs/heads/t20050127-arm during git-cvsimport

3 messages from 2007-12-04 to 2007-12-07. Participants: Baurzhan Ismagulov, Jakub Narebski, Michael Haggerty.
Thread: https://gitlist.dev/t/11131

## Baurzhan Ismagulov, 2007-12-04 17:18

Subject: Not a valid object name refs/heads/t20050127-arm during git-cvsimport
Message-ID: <20071204171833.GD29315@radix50.net>
URL: https://gitlist.dev/e/20071204171833.GD29315%40radix50.net

```
Hello,

I want to import a CVS repo myrepo into git. I copied CVSHEAD and myrepo
dirs from the cvs server to /home/ibr/tmp and issued the following
command:

git-cvsimport -p x -k -o cvshead -d/home/ibr/tmp -C zzz myrepo/drv

It fails with the following messages:

Initialized empty Git repository in /home/ibr/tmp/zzz/.git/
fatal: Not a valid object name refs/heads/t20050127-arm
read-tree failed: 32768

t20050127-arm is a branch that exists not for all files under
myrepo/drv.

How can I import this repo?

I use git 1.5.3.6-1.1 from Debian unstable and cvsps 2.1-2 from Debian
stable on a Debian testing/unstable system.

Thanks in advance,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

```

## Jakub Narebski, 2007-12-04 18:06

Subject: Re: Not a valid object name refs/heads/t20050127-arm during git-cvsimport
Message-ID: <m38x4auyga.fsf@roke.D-201>
URL: https://gitlist.dev/e/m38x4auyga.fsf%40roke.D-201
In-Reply-To: <20071204171833.GD29315@radix50.net>

```
Baurzhan Ismagulov <ibr@radix50.net> writes:

> I want to import a CVS repo myrepo into git. I copied CVSHEAD and myrepo
> dirs from the cvs server to /home/ibr/tmp and issued the following
> command:
> 
> git-cvsimport -p x -k -o cvshead -d/home/ibr/tmp -C zzz myrepo/drv
> 
> It fails [...]

You can try to use other CVS importers, for example parsecvs from
Freedesktop project; see InterfaceFrontendsAndTools page on git wiki:
  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools

-- 
Jakub Narebski

```

## Michael Haggerty, 2007-12-07 17:48

Subject: Re: Not a valid object name refs/heads/t20050127-arm during git-cvsimport
Message-ID: <4759876E.4080807@alum.mit.edu>
URL: https://gitlist.dev/e/4759876E.4080807%40alum.mit.edu
In-Reply-To: <m38x4auyga.fsf@roke.D-201>

```
Jakub Narebski wrote:
> Baurzhan Ismagulov <ibr@radix50.net> writes:
> 
>> I want to import a CVS repo myrepo into git. I copied CVSHEAD and myrepo
>> dirs from the cvs server to /home/ibr/tmp and issued the following
>> command:
>>
>> git-cvsimport -p x -k -o cvshead -d/home/ibr/tmp -C zzz myrepo/drv
>>
>> It fails [...]
> 
> You can try to use other CVS importers, for example parsecvs [...]

Or cvs2svn, which can now also output to git.  See these threads for
more info:

http://marc.info/?l=git&m=118592701426175&w=4
http://cvs2svn.tigris.org/servlets/BrowseList?list=users&by=thread&from=624393

Michael

```
