git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-svn: persistent memoization

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 5, 2010, 10:02 UTC
Message-ID
<20100205100230.GA16881@dcvr.yhbt.net>
In-Reply-To
<49FDA6F7-21D8-4280-A6A7-80EC2F749EA9@apple.com>
Andrew Myrick <amyrick@apple.com> wrote:
Show 26 quoted lines
> On Jan 31, 2010, at 8:03 PM, Eric Wong wrote:
> > Andrew Myrick <amyrick@apple.com> wrote:
> >> 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.
> > 
> > Hi Andrew,
> > 
> > Perhaps "$ENV{GIT_DIR}/svn/.caches" is better here since older versions
> > of git svn used "$ENV{GIT_DIR}/svn/$refname" in the top-level and
> > "caches" may conflict with existing repos.
> > 
> >> -use File::Path qw/mkpath/;
> >> +use File::Path qw/mkpath make_path/;
> > 
> > File::Path::make_path is very recent not in Perls distributed by most
> > vendors.  My 5.10.0 installation (Debian stable) doesn't have it, and I
> > also don't see a good reason to use it over the traditional mkpath.
> > 
> > I think I'll squash the following patch and Ack.  Let me know if
> > you have any objections, thanks.!
> > (also wraps long lines to 80 chars)
> 
> Makes sense to me.  Thanks, Eric.
Hi Junio,
I've acked and pushed this out to git://git.bogomips.org/git-svn
  Andrew Myrick (1):
        git-svn: persistent memoization

Sorry for the delay, my mind has slipped. Thanks to Andrew for the patch and reminder.

-- 
Eric Wong
Previous: Andrew Myrick
Message 4 of 4 in “git-svn: persistent memoization”
  1. git-svn: persistent memoizationAndrew Myrick, Jan 30, 2010
  2. Eric WongFeb 1, 2010
  3. Andrew MyrickFeb 1, 2010
  4. Eric WongFeb 5, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.