Re: Regression and failure to clone/fetch with new code Re: git-svn performance
- From
- Hin-Tak Leung <htl10@users.sourceforge.net>
- Date
- Oct 30, 2014, 02:35 UTC
- Message-ID
- <1414636504.45506.YahooMailBasic@web172304.mail.ir2.yahoo.com>
- In-Reply-To
- <20141030002801.GB31920@dcvr.yhbt.net>
Here is the data dumper info . I tried the dumper code on the R repo as well, and saw that against the virtual box repo, there is one curious difference - $self->{last_rev} is a string rather than a number. I tried hacking around doing "$x += 0;" to coerce last_rev to a number at various places but didn't get very far. There seems to be some caching code in RA->get_dir so presumably that's why the same code run on one repo gives it as string while on another gives it a number. Hope you can figure where the coersion to string happened.
--------
$ git svn fetch --all
Index mismatch: d6c75bc195b1daad647322e2cc025bd31265c6b9 != 3927d05f6ab037fcf2b4d964c9633efade037d1b
rereading a65b5fc0077c2fa80a344833b65ac19ff4ae88b6
M src/VBox/Main/HostImpl.cpp
$VAR1 = [
bless( {
'map_root' => '.git/svn/refs/remotes/origin/trunk/.rev_map',
'-use_svm_props' => undef,
'ra_uuid' => 'cfe28804-0f27-0410-a406-dd0f0b0b656f',
'pushurl' => undef,
'-follow_parent' => 1,
'-no_metadata' => undef,
'-rewrite_uuid' => undef,
'repo_id' => 'svn',
'-rewrite_root' => undef,
'index' => '.git/svn/refs/remotes/origin/trunk/index',
'dir' => '.git/svn/refs/remotes/origin/trunk',
'ref_id' => 'refs/remotes/origin/trunk',
'url' => 'http://www.virtualbox.org/svn/vbox',
'last_rev' => '28923',
'last_commit' => 'a65b5fc0077c2fa80a344833b65ac19ff4ae88b6',
'_path' => 'trunk',
'config' => '.git/svn/config',
'logged_rev_props' => {
'log' => 'Main/Host: fix lock order issues in several methods
',
'date' => '2010-04-30T09:08:17.252108Z',
'author' => 'vboxsync'
}
}, 'Git::SVN' ),
'trunk',
'28923',
'trunk',
28924,
'/branches/VBox-3.0:58652'
];
Incorrect parameters given: Could not convert '%ld' into a number at /usr/share/perl5/vendor_perl/Git/SVN.pm line 1713.------
-------------------------------------------- On Thu, 30/10/14, Eric Wong <normalperson@yhbt.net> wrote:
> I was skimming and missed the part about Debian
packages :)
I only asked because you mentioned using Debian :-). The other 'Eric Wong' maintains/maintained a few chinese-related debian packages, from some years ago.
I know of two "Ken Sharp", one of ghostscript and another of wine, and two "David Turner", one of freetype and another of FSF's legal matters.