annotate notes/hgsubversion.png @ 296:9be04de434ed

Get rid of .hg/svn/last_rev: We now calculate the last known revision by iterating over all known revisions and finding the highest number. Theoretically, we might be able to simply read the latest entry, but in practice, that's a bug waiting to happen. For instance, we might want to achieve compatibility with '.hg/shamap' as generated by the ConvertExtension, and it not only cannot offer a guarantee of linearity, but it also allows more than one conversion to source exists. I'd say we have other problems to care about until this turns up as a hotspot in profiling. Such as why we leak circa 100MB of memory per 1000 revisions converted ;)
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 27 Mar 2009 01:09:36 +0100
parents f98717473abc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
294
f98717473abc Adding an icon made from the logos of Mercurial & Subversion.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
diff changeset
1 (binary:image/png)