diff mercurial/revlog.py @ 3755:05120e210c65

Use unsigned version format. This way can use one additional bit, and when encountering invalid revlogs with the first bit set don't produce python warnings or strange error messages.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 01 Dec 2006 23:27:53 +0100
parents cd25a4a1a265
children abaee83ce0a6 27230c29bfec
line wrap: on
line diff
--- a/mercurial/revlog.py	Fri Dec 01 23:16:12 2006 +0100
+++ b/mercurial/revlog.py	Fri Dec 01 23:27:53 2006 +0100
@@ -81,7 +81,7 @@
 # 32 bytes: nodeid
 indexformatng = ">Qiiiiii20s12x"
 ngshaoffset = 32
-versionformat = ">i"
+versionformat = ">I"
 
 class lazyparser(object):
     """