* git rev-parse --verify HEAD: fatal: Needed a single revision
@ 2008-08-01 9:29 Arkadiusz Miskiewicz
2008-08-01 14:35 ` Miklos Vajna
0 siblings, 1 reply; 2+ messages in thread
From: Arkadiusz Miskiewicz @ 2008-08-01 9:29 UTC (permalink / raw)
To: git
Hello,
I'm trying to git cvsimport a cvs repository. Process ends with:
DONE.
fatal: Needed a single revision
Can merge only exactly one commit into empty head
Could not merge origin into the current branch.
The fatal comes from:
$ git rev-parse --verify HEAD
fatal: Needed a single revision
What is the problem here and how to fix it?
How to reproduce:
get http://carme.pld-linux.org/~arekm/rpm5.tar.bz2
unpack
cd rpm5
git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs rpm
I'm using:
$ git --version
git version 1.5.6.4
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git rev-parse --verify HEAD: fatal: Needed a single revision
2008-08-01 9:29 git rev-parse --verify HEAD: fatal: Needed a single revision Arkadiusz Miskiewicz
@ 2008-08-01 14:35 ` Miklos Vajna
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Vajna @ 2008-08-01 14:35 UTC (permalink / raw)
To: Arkadiusz Miskiewicz; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
On Fri, Aug 01, 2008 at 11:29:04AM +0200, Arkadiusz Miskiewicz <arekm@pld-linux.org> wrote:
> How to reproduce:
> get http://carme.pld-linux.org/~arekm/rpm5.tar.bz2
> unpack
> cd rpm5
> git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs rpm
I did:
git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs -o master -C rpm rpm
first time it bailed out with an error, sadly I don't exactly remember,
but it was different to your error. Then I ran it again (of course
without rm -rf rpm) and it finished properly. The cvs checkout and git
HEAD differs only in one file (python/Makefile.in is removed in cvs, but
not in git).
I put it out to http://vmiklos.hu/gitweb/?p=rpm.git, if you are
interested.
> I'm using:
> $ git --version
> git version 1.5.6.4
$ git --version
git version 1.6.0.rc0.14.g95f8.dirty
Not sure if it matters or not.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-01 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 9:29 git rev-parse --verify HEAD: fatal: Needed a single revision Arkadiusz Miskiewicz
2008-08-01 14:35 ` Miklos Vajna
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.