git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git cvsimport fails

From
THThomas Hühn <newsgroups@thomas-huehn.de>
Date
May 1, 2007, 15:54 UTC
Message-ID
<87abwomtdl.fsf@mid.thomas-huehn.de>
In-Reply-To
<87ejm0mtpy.fsf@mid.thomas-huehn.de>
Thomas Hühn <newsgroups@thomas-huehn.de> writes:
Show 11 quoted lines
> I'm trying to import from a CVS repository and get this error message at
> the end:
>
> |Commit ID 076fd7d71925bb551320aa20aa8eec68bf218f45
> |DONE.
> |fatal: Needed a single revision
> |Can merge only exactly one commit into empty head
> |Could not merge origin into the current branch.
>
> Is my git repo broken, is the CVS repo broken, is it just a shortcoming
> of cvsimport? Any idea whether it is fixable?

Okay, should have looked further for suitable git commands. git-fsck tells me that HEAD is not a symbolic ref.

HEAD contains "ref: refs/heads/master", but refs/heads contains no "master", just other files.

Can I find out, which hash master should point at?
Thomas
Previous: Thomas HühnNext: Florian Weimer
Message 2 of 4 in “git cvsimport fails”
  1. Thomas HühnMay 1, 2007
  2. Thomas HühnMay 1, 2007
  3. Florian WeimerMay 6, 2007
  4. Thomas HühnMay 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.