git-svn: cache max revision in rev_db databases
authorSam Vilain <sam@vilain.net>
Sat, 30 Jun 2007 08:56:14 +0000 (20:56 +1200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Jul 2007 06:36:32 +0000 (23:36 -0700)
commit40cb8f8f08d409b3a2d39aae8c6b99bccd945436
tree3e694173247be3199098a7e08cf19eac43586f12
parent3dfab993c8c9a30450635e4d660f26bb508ae3af
git-svn: cache max revision in rev_db databases

Cache the maximum revision for each rev_db URL rather than looking it
up each time.  This saves a lot of time when rebuilding indexes on a
freshly cloned repository.

Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl