git-svn: persistent memoization
authorAndrew Myrick <amyrick@apple.com>
Sat, 30 Jan 2010 03:14:22 +0000 (03:14 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Feb 2010 07:33:25 +0000 (23:33 -0800)
commit8bff7c5383ed833bd1df9c8d85c00a27af3e5b02
tree68ddf80a4d289017e233d20f911f65fb68d30ae4
parent4d0cc2243778b38c3759c6a08f4f1ed64155a070
git-svn: persistent memoization

Make memoization of the svn:mergeinfo processing functions persistent with
Memoize::Storable so that the memoization tables don't need to be regenerated
every time the user runs git-svn fetch.

The Memoize::Storable hashes are stored in ENV{GIT_DIR}/svn/.caches.

[ew: changed caches path to avoid conflicts with old repos]
[ew: File::Path::{make_path => mkpath} for compatibility]
[ew: line-wrapped at 80 chars]

Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Andrew Myrick <amyrick@apple.com>
git-svn.perl