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

Re: git-svn clone behaves non-deterministic

From
JWJosef Wolf <jw@raven.inka.de>
Date
Nov 27, 2008, 22:40 UTC
Message-ID
<20081127224042.GC12716@raven.wolf.lan>
In-Reply-To
<20081127182947.GB12716@raven.wolf.lan>
On Thu, Nov 27, 2008 at 07:29:47PM +0100, Josef Wolf wrote:
Show 6 quoted lines
> - "HEAD points to unborn branch" confirms that the import failed
> - there are exactly 2000 "Checking reflog" lines.  Since the last
>   imported revision was 2008, I would have expected 2008 (or 2007
>   or 2009) such lines.  My first thought was this might be related
>   to the --repack option defaulting to 1000.  But with --repack=570
>   it also stops after r2008.

I've done lots of trial-and-error and I think I've finally found the point where the script stops working. Fortunately, git-svn is a perl script :-). So I've found in the sub gs_do_update, the statement

   $reporter->finish_report($pool);

is the last executed function. Here is what Data::Dumper says about the $pool parameter:

  $VAR1 = bless(
              do {
                  \(
                      my $o = bless(
                         do{
                              \(my $o = 148559280)
                         },
                         '_p_apr_pool_t'
                      )
                   )
              },
              'SVN::Pool'
          );
I have tried to format the Data::Dumper output more readable.
Any hints how to get closer to the problem?
Previous: Josef Wolf
Message 4 of 4 in “git-svn clone behaves non-deterministic”
  1. Josef WolfNov 27, 2008
  2. Michael J GruberNov 27, 2008
  3. Josef WolfNov 27, 2008
  4. Josef WolfNov 27, 2008

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.