git cvsimport fails
Hi
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?
Thomas
Quoted 11 lines · Thomas Hühn
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
* Thomas Hühn:
Quoted 4 lines
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?
After the initial checkout, it should point to "origin"; this is the HEAD of the CVS repository. Of course, if your main development line resides on another branch, you should use that.
Quoted 10 lines · Florian Weimer
* Thomas Hühn:
Quoted 4 lines
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?
After the initial checkout, it should point to "origin"; this is the HEAD of the CVS repository. Of course, if your main development line resides on another branch, you should use that.
Okay, thanks. I'll enter that.
Thomas