svn: avoid calls to resolve_svn_rev when possible
commit96b3d3228a26b4402aee105350e427a1e25cbf0a
authorSteven Walter <swalter@lpdev.prtdev.lexmark.com>
Tue, 19 Aug 2008 12:49:07 +0000 (19 08:49 -0400)
committerSteven Walter <swalter@lpdev.prtdev.lexmark.com>
Tue, 19 Aug 2008 14:37:50 +0000 (19 10:37 -0400)
treef8fa0c408564d424fa6f4bc97df997790976c6e0
parent9e6cf21020cec228a1424b57c760865d22b7f0ab
svn: avoid calls to resolve_svn_rev when possible

resolve_svn_rev isn't terribly expensive, but in a log the cost quickly
adds up.  Once we see a commit whose hash matches its git-svn-id, we
know all parents of that hash will too.  Take advantage of that fact to
avoid calls to resolve_svn_rev.  The result noticably speeds "yap log"
plugins/svn.py