diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-05-13 01:04:43 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-13 12:10:42 -0700 |
commit | 0dc03d6a30213e9aa0eb88886cee24b993a24a29 (patch) | |
tree | b023b248b1da7d05b19a5a600fb1b076eaa34102 /t | |
parent | git-svn: don't drop the username from URLs when dcommit is run (diff) | |
download | tgif-0dc03d6a30213e9aa0eb88886cee24b993a24a29.tar.xz |
git-svn: clean up caching of SVN::Ra functions
This patch was originally intended to make the Perl GC more
sensitive to the SVN::Pool objects and not accidentally clean
them up when they shouldn't be (causing segfaults). That didn't
work, but this patch makes the code a bit cleaner regardless
Put our caches for get_dir and check_path calls directly into
the SVN::Ra object so they auto-expire when it is destroyed.
dirents returned by get_dir() no longer needs the pool object
stored persistently along with the cache data, as they'll be
converted to native Perl hash references.
Since calling rev_proplist repeatedly per-revision is no longer
needed in git-svn, we do not cache calls to it.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions