Re: Regression and failure to clone/fetch with new code Re: git-svn performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(apology for the empty message again - sticky fingers in smart phone...)

------------------------------
On Thu, Oct 30, 2014 08:46 GMT Eric Wong wrote:

>Thanks, I'm not able to reproduce the issue, but can you try the
>following?
>
>diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm
>index 75cdac9..82d6108 100644
>--- a/perl/Git/SVN/Ra.pm
>+++ b/perl/Git/SVN/Ra.pm
>@@ -153,6 +153,7 @@ sub url {
> sub check_path {
>     my ($self, $path, $r) = @_;
>     my $cache = $self->{cache}->{check_path};
>+    $r = int($r);
>     if ($r == $cache->{r} && exists $cache->{data}->{$path}) {
>         return $cache->{data}->{$path};
>     }
>@@ -169,6 +170,7 @@ sub check_path {
> sub get_dir {
>     my ($self, $dir, $r) = @_;
>     my $cache = $self->{cache}->{get_dir};
>+    $r = int($r);
>     if ($r == $cache->{r}) {
>         if (my $x = $cache->{data}->{$dir}) {
>             return wantarray ? @$x : $x->[0];
>---

I added those two lines to my git and there is no improvement. It still won't svn fetch the next
revision. I think it may be important/interesting to find out when or how it becomes non-int,
so I have tar'gz'ed my wont-fetch virtual box .git and in the middle of uploading here: 

http://sourceforge.net/projects/outmodedbonsai/files/R/

I am also uploading my old R clone also - maybe you'd like to see why its .git/svn/.caches
is so big compared to a recent one, as well as how and why there were an extra merge
and two missing merges compared to a recent clone?

(FYI - I have some local stuff on my old R clone. They are mostly
there because the R devs don't agree etc but there is nothing confidential about them).
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]