revlog.revision(): don't use nullrev as the default value for the cache
I is probably a bug if the deltachain computation think there was a cache hit
at nullrev. Use None instead, this will never trigger a cache hit.
--- a/mercurial/revlog.py Fri Aug 20 00:17:50 2010 +0200
+++ b/mercurial/revlog.py Fri Aug 20 00:17:50 2010 +0200
@@ -1056,7 +1056,7 @@
def revision(self, node):
"""return an uncompressed revision of a given node"""
- cachedrev = nullrev
+ cachedrev = None
if node == nullid:
return ""
if self._cache: