threads / discuss / 11131

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

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

## tl;dr

3 messages between Dec 4, 2007 and Dec 7, 2007.

replies: 2people: 3as markdown or json

Baurzhan Ismagulov· Dec 4, 2007, 17:18 UTC · lore
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· Dec 4, 2007, 18:06 UTC · re: Baurzhan Ismagulov · lore

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

Baurzhan Ismagulov <ibr@radix50.net> writes:
Show 7 quoted lines
> 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· Dec 7, 2007, 17:48 UTC · re: Jakub Narebski · lore

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

Jakub Narebski wrote:
Show 11 quoted lines
> 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

← back to recent threads