X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=perl%2FGit%2FSVN%2FRa.pm;fp=perl%2FGit%2FSVN%2FRa.pm;h=2cfe055a9a04305ab5b248a6de0bab2a8abfcec0;hp=56ad9870bcfdfae68bd0fb5b57aa73e208bcb0fd;hb=e7e113a1df98f3a97a83c36cf75bcce50a4a0073;hpb=d80bea479daa1d49a6b2332c4731e2647c896c29 diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm index 56ad9870bc..2cfe055a9a 100644 --- a/perl/Git/SVN/Ra.pm +++ b/perl/Git/SVN/Ra.pm @@ -486,11 +486,11 @@ sub gs_fetch_loop_common { $reload_ra->() if $ra_invalid; } # pre-fill the .rev_db since it'll eventually get filled in - # with '0' x40 if something new gets committed + # with '0' x $oid_length if something new gets committed foreach my $gs (@$gsv) { next if $gs->rev_map_max >= $max; next if defined $gs->rev_map_get($max); - $gs->rev_map_set($max, 0 x40); + $gs->rev_map_set($max, 0 x $::oid_length); } foreach my $g (@$globs) { my $k = "svn-remote.$g->{remote}.$g->{t}-maxRev";