Memo from git-svn: Could not unmemoize! (25 Oct 2011)

After upgrading to Ubuntu 11.10, git-svn started giving me a hard time.

Updates from the SVN master repository started to fail with error messages like this:

Byte order is not compatible at ../../lib/ (autosplit into ../../lib/auto/Storable/ line 380, 
  at /usr/share/perl/5.12/Memoize/ line 21

Could not unmemoize function `lookup_svn_merge', because it was not memoized to begin with 
  at /usr/lib/git-core/git-svn line 3213
END failed--call queue aborted at /usr/lib/git-core/git-svn line 40.

Apparently, git-svn maintains cached meta information in .git/svn/.caches, which the Perl library choked on. I guess what happened is that Ubuntu 11.10 came with a more recent version of Perl and the Perl libraries, and the new version of did not know how to handle data stored with older versions. Again, just a guess. Discussions at, and suggest this may in fact a bug in the git-svn scripts, but I did not venture to analyse the problem any further.

Anyway, the following took care of the problem for me:

  rm -rf .git/svn/.caches

Previous month: Click here.

Revision: r1.2 - 21 Dec 2011 - 11:35 - ClausBrod
Blog > WebLeftBar > DefinePrivatePublic201110
Copyright © 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback