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

git-svn and u-boot broken.

From
JTJoakim Tjernlund <joakim.tjernlund@transmode.se>
Date
Oct 13, 2006, 19:19 UTC
Message-ID
<00ad01c6eefc$84298280$1267a8c0@Jocke>
I am trying to create a SVN tree using git-svn from the u-boot git tree and it doesn't work.
First, I had to change this (from memory) in git-svn:
  my $got = SVN::TxDelta::send_stream($fh, @$atd, $self->{pool});
to
  my $got;
  if ( $got ) {
    $got = SVN::TxDelta::send_stream($fh, @$atd, $self->{pool});
  } else {
    $got = $exp
  }
I am no perl programmer so please change as you se fit.

Secondly I ran out of open file descriptors which I "fixed" with ulimit -n 10000, maybe there is a leak in git-svn?

Then it still failed, but this I could not fix. Don't have the error msg atm as I am home now, but it should be easy enough to reproduce, just clone current u-boot tree and try :)

What I really would like to do is merge all u-boot commits up to a point into one commit and then commit that single git commit to a clean SVN repo. Then I want merge the remaining git commits(my own stuff). Tried to import a tar tree into the SVN repo with svn import and then merge the remain commits on top of that using git-svn but that didn't work, lots of conflicts.

 Jocke
Next: Randal L. Schwartz
Message 1 of 9 in “git-svn and u-boot broken.”
  1. Joakim TjernlundOct 13, 2006
  2. Randal L. SchwartzOct 13, 2006
  3. Joakim TjernlundOct 13, 2006
  4. Joakim TjernlundOct 14, 2006
  5. Eric WongOct 14, 2006
  6. Joakim TjernlundOct 14, 2006
  7. Eric WongOct 14, 2006
  8. git-svn: reduce memory usage for large commitsEric Wong, Oct 14, 2006
  9. Joakim TjernlundOct 14, 2006

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.