git-svn: speed up find_rev_before
authorBen Jackson <ben@ben.com>
Thu, 4 Jun 2009 03:45:51 +0000 (20:45 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 25 Jun 2009 07:38:16 +0000 (00:38 -0700)
commitca5e880ec2172f33dd0113129775f6eb65f2f678
tree00c97849c44dd48e03169306e2ff0dfe4d9f71fe
parent9a8c92ac9e4698da150a413ce80f185005447f4c
git-svn: speed up find_rev_before

By limiting start revision of find_rev_before to max existing
revision.  This avoids a long wait if you do
'git svn reset -r 9999999'.  The linear search within the
contiguous revisions doesn't seem to be a problem.

[ew: expanded commit message]

Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl