[Svnmerge] [PATCH] Cache svn output
Giovanni Bajo
rasky at develer.com
Tue Sep 19 14:31:41 PDT 2006
Rich Williams <perldog at gmail.com> wrote:
>> We've started using svnmerge recently, and already it's getting
>> pretty slow. The attached patch speeds things up by simply caching
>> the
>> output of certain svn commands (the ones which work on specific
>> revisions, not the ones which are fetching information about the
>> current state)
Hello,
the patch is very interesting, and I have been pondering something similar for
quite of some time. I believe the correct way of doing this is by caching
specific bits of information extracted from the SVN output, instead of being
just a "dumb" mapping cmdline -> output. For instance, any "svn log" issued by
svnmerge is different in its arguments (different ranges) but could still be
cached properly (per-rev) and reused (modulo revprop edits, for which a
rebuild-cache command could be devised).
Thanks for proposing it. I should have some time to work on svnmerge next
month, and I will see if I can come up with a more comprehensive patch. Feel
free to ping me again :)
Giovanni Bajo
More information about the Svnmerge
mailing list