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

RE: Problems with git cvsimport

From
RBRaimund Bauer <ray@softwarelandschaft.com>
Date
Feb 28, 2007, 13:27 UTC
Message-ID
<000c01c75b3c$31f91000$0b0aa8c0@abf.local>
In-Reply-To
<Pine.LNX.4.63.0702271700300.22628@wbgn013.biozentrum.uni-wuerzburg.de>
> Sorry to have missed that earlier. AFAIR cvsimport _needs_ 
> cvsps 2.1. You 
> have version 2.0rc1, which is not sufficient...

OK, thanks a lot, now that I'm using cvsps especially for git from http://ydirson.free.fr/en/software/scm/cvsps.html things are looking a bit better.

There are some modules I can import with relative little noise. Not sure why I needed to do 'checkout -f' to get all the files in the working directory, but I got no problem with that.

For some other modules it doesn't work at all. I.e. trying

$ git cvsimport -d :pserver:ray007@cvs.drupal.org:/cvs/drupal-contrib -C localizer -a contributions/modules/localizer Initialized empty Git repository in /home/ray/drupal/modules/localizer/.git/ file 'CHANGELOG.txt; pre_rev:INITIAL; post_rev:1.1; dead:0; branch_point:0 ' not found in hash fatal: refs/heads/origin: not a valid SHA1 fatal: master: not a valid SHA1 warning: You appear to be on a branch yet to be born. warning: Forcing checkout of HEAD. fatal: just how do you expect me to merge 0 trees? checkout failed: 256

Any hint what I have done wrong?

Doing a normal cvs checkout works, trying to do a git-cvsimport in the checked-out directory fails with the same error again.

For trying out, username=anonymous, password=anonymous should work. Or to just see what's in the repo, you can have a look at http://cvs.drupal.org/viewcvs/drupal/contributions/modules/localizer/ to see the repo I tried in the example above.

My perl knowledge is _very_ limited, but I'll have a look at the script too ...

-- 
best regards

  Ray
Previous: Raimund BauerNext: Johannes Schindelin
Message 7 of 10 in “Problems with git cvsimport”
  1. Raimund BauerFeb 27, 2007
  2. Johannes SchindelinFeb 27, 2007
  3. Junio C HamanoFeb 27, 2007
  4. Raimund BauerFeb 27, 2007
  5. Johannes SchindelinFeb 27, 2007
  6. Raimund BauerFeb 27, 2007
  7. Raimund BauerFeb 28, 2007
  8. Johannes SchindelinMar 3, 2007
  9. Raimund BauerMar 3, 2007
  10. Johannes SchindelinMar 3, 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.