From: Jonathan Nieder Date: Tue, 23 Aug 2011 02:36:37 GMT Subject: Re: [PATCH] git-svn: Destroy the cache when we fail to read it Message-ID: <20110823023637.GB4623@elie.gateway.2wire.net> In-Reply-To: <20110823022717.GA4623@elie.gateway.2wire.net> Jonathan Nieder wrote: > [This patch teaches "git svn" to invalidate caches when they > fail to load, for example because the endianness or size of > some type changed, which is common in the perl 5.6 -> 5.8 > upgrade.] Erm, actually it showed up in the perl 5.10 -> 5.12 upgrade in Debian, due to use of -Duse64bitint when compiling the latter and not the former[1]. To summarize: - "$Storable::interwork_56_64bit = 1;" can be used to work around that particular brand of breakage; - The interwork_* option does not take care of similar cases in which a git-svn repository is generated on one machine and read by another[2], though. Hence my happiness at the arrival of Jason's patch. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=32;bug=618875 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=20;bug=587650