Skip to contentSkip to conversation

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

DISCUSSION Baurzhan Ismagulov 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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,

Signature · 2 lines
Baurzhan Ismagulov
http://www.kz-easy.com/
#1 lore raw
Quoted 7 lines · Baurzhan Ismagulov

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

Signature · 1 line
Jakub Narebski
#2 lore raw
Quoted 11 lines · Jakub Narebski
Quoted 7 lines · Baurzhan Ismagulov

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