* cvs import error
@ 2006-06-11 23:48 carbonated beverage
2006-06-12 0:31 ` Martin Langhoff
0 siblings, 1 reply; 5+ messages in thread
From: carbonated beverage @ 2006-06-11 23:48 UTC (permalink / raw)
To: git
Hi all,
I'm currently trying to import a CVS archive into git and hitting
problems. The repo was cloned with cvssuck, and the import was run
with cvsps 2.1 and git-1.4.0, getting this (abbreviated, slightly
sanitized) output:
$ git cvsimport -v -d ':local:/home/ramune/git-import' -C . FOO
WARNING: revision 1.21.2.3 of file BAR/BAZ/QUX on unnamed branch
<<snip lots of the same types of warnings for different files, multiple
<<times for quite a few of them>>
WARNING: revision 1.6.2.2 of file BAR/BAZ/FROBOZ on unnamed branch
invalid cache revision line 'file:X/Y/Z/A/B/C D E.F; D G.F; pre_rev:INITIAL; pos
t_rev:1.1; dead:0; branch_point:0
'|' D G.F'
DONE; creating master branch
fatal: refs/heads/origin: not a valid SHA1
fatal: master: not a valid SHA1
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tr
ee.
Use '--' to separate paths from revisions
fatal: Not a valid object name HEAD
checkout failed: 256
$ exit
The import bombs out on the same place every time, with or without cvsps
being passed -x and/or --no-cvs-direct.
The source tree's proprietary, so I can't give snippets or examples,
unforutnately. Has anyone come across this issue before and resovled it?
If so, how?
Thanks,
-- DN
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cvs import error
2006-06-11 23:48 cvs import error carbonated beverage
@ 2006-06-12 0:31 ` Martin Langhoff
2006-06-12 3:57 ` carbonated beverage
0 siblings, 1 reply; 5+ messages in thread
From: Martin Langhoff @ 2006-06-12 0:31 UTC (permalink / raw)
To: carbonated beverage; +Cc: git
On 6/12/06, carbonated beverage <ramune@net-ronin.org> wrote:
> fatal: Not a valid object name HEAD
> checkout failed: 256
> $ exit
After each attempt, the import leaves a .git file around. rm -fr .git
before retrying... or just retry in a new directory every time ;-)
(... we should die with a more helpful message here...)
cheers,
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cvs import error
2006-06-12 0:31 ` Martin Langhoff
@ 2006-06-12 3:57 ` carbonated beverage
2006-06-12 4:01 ` Martin Langhoff
0 siblings, 1 reply; 5+ messages in thread
From: carbonated beverage @ 2006-06-12 3:57 UTC (permalink / raw)
To: Martin Langhoff; +Cc: git
On Mon, Jun 12, 2006 at 12:31:35PM +1200, Martin Langhoff wrote:
> After each attempt, the import leaves a .git file around. rm -fr .git
> before retrying... or just retry in a new directory every time ;-)
>
> (... we should die with a more helpful message here...)
This error occurs on a fresh import attempt, unfortunately.
rm -rf'ing .git and doing an import again always fails at the exact same
spot with the above message.
-- DN
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cvs import error
2006-06-12 3:57 ` carbonated beverage
@ 2006-06-12 4:01 ` Martin Langhoff
2006-06-13 4:25 ` carbonated beverage
0 siblings, 1 reply; 5+ messages in thread
From: Martin Langhoff @ 2006-06-12 4:01 UTC (permalink / raw)
To: carbonated beverage; +Cc: git
On 6/12/06, carbonated beverage <ramune@net-ronin.org> wrote:
> On Mon, Jun 12, 2006 at 12:31:35PM +1200, Martin Langhoff wrote:
> > After each attempt, the import leaves a .git file around. rm -fr .git
> > before retrying... or just retry in a new directory every time ;-)
> >
> > (... we should die with a more helpful message here...)
>
> This error occurs on a fresh import attempt, unfortunately.
>
> rm -rf'ing .git and doing an import again always fails at the exact same
> spot with the above message.
Unsure then. Try with the patches I've posted yesterday that ignore
bogus-looking branches.
cheers,
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cvs import error
2006-06-12 4:01 ` Martin Langhoff
@ 2006-06-13 4:25 ` carbonated beverage
0 siblings, 0 replies; 5+ messages in thread
From: carbonated beverage @ 2006-06-13 4:25 UTC (permalink / raw)
To: git
Whups, make an error on the reply so it didn't hit the list:
Switched to the git 'next' branch, applied that patch, nuked ~/.cvsps
(forgot it cached stuff), and rm'ing the one directory that was giving
cvsps fits (in that order) finally allowed the rest of the repo to get
imported.
Thanks!
-- DN
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-13 4:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11 23:48 cvs import error carbonated beverage
2006-06-12 0:31 ` Martin Langhoff
2006-06-12 3:57 ` carbonated beverage
2006-06-12 4:01 ` Martin Langhoff
2006-06-13 4:25 ` carbonated beverage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).