{"thread":{"id":"14788","subject":"git rev-parse --verify HEAD: fatal: Needed a single revision","startedAt":"2008-08-01T09:29:04Z","lastAt":"2008-08-01T14:35:31Z","messageCount":2,"participants":["Arkadiusz Miskiewicz","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"85879","messageId":"g6ul10$rr9$1@ger.gmane.org","threadId":"14788","inReplyTo":null,"subject":"git rev-parse --verify HEAD: fatal: Needed a single revision","fromName":"Arkadiusz Miskiewicz","fromEmail":"arekm@pld-linux.org","sentAt":"2008-08-01T09:29:04Z","receivedAt":"2008-08-01T09:29:04Z","isPatch":false,"sender":{"key":"arekm@pld-linux.org","avatar":null},"body":"\nHello,\n\nI'm trying to git cvsimport a cvs repository. Process ends with:\nDONE.\nfatal: Needed a single revision\nCan merge only exactly one commit into empty head\nCould not merge origin into the current branch.\n\nThe fatal comes from:\n$ git rev-parse --verify HEAD\nfatal: Needed a single revision\n\n\nWhat is the problem here and how to fix it?\n\n\n\nHow to reproduce:\nget http://carme.pld-linux.org/~arekm/rpm5.tar.bz2\nunpack\ncd rpm5\ngit cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs rpm\n\n\nI'm using:\n$ git --version\ngit version 1.5.6.4\n\n-- \nArkadiusz Miśkiewicz        PLD/Linux Team\narekm / maven.pl            http://ftp.pld-linux.org/\n"},{"id":"85903","messageId":"20080801143531.GT32057@genesis.frugalware.org","threadId":"14788","inReplyTo":"g6ul10$rr9$1@ger.gmane.org","subject":"Re: git rev-parse --verify HEAD: fatal: Needed a single revision","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-08-01T14:35:31Z","receivedAt":"2008-08-01T14:35:31Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Fri, Aug 01, 2008 at 11:29:04AM +0200, Arkadiusz Miskiewicz <arekm@pld-linux.org> wrote:\n> How to reproduce:\n> get http://carme.pld-linux.org/~arekm/rpm5.tar.bz2\n> unpack\n> cd rpm5\n> git cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs rpm\n\nI did:\n\ngit cvsimport -v -d :pserver:anonymous@rpm5.org:/cvs -o master -C rpm rpm\n\nfirst time it bailed out with an error, sadly I don't exactly remember,\nbut it was different to your error. Then I ran it again (of course\nwithout rm -rf rpm) and it finished properly. The cvs checkout and git\nHEAD differs only in one file (python/Makefile.in is removed in cvs, but\nnot in git).\n\nI put it out to http://vmiklos.hu/gitweb/?p=rpm.git, if you are\ninterested.\n\n> I'm using:\n> $ git --version\n> git version 1.5.6.4\n\n$ git --version\ngit version 1.6.0.rc0.14.g95f8.dirty\n\nNot sure if it matters or not.\n"}]}