# HG changeset patch # User Thomas Arendsen Hein # Date 2006-12-01 22:27:53 # Node ID 05120e210c65cf53f8df13711c5d82575a66508d # Parent cd25a4a1a265377f0777037b9d63e6eb33b1b036 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. diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -81,7 +81,7 @@ v0shaoffset = 56 # 32 bytes: nodeid indexformatng = ">Qiiiiii20s12x" ngshaoffset = 32 -versionformat = ">i" +versionformat = ">I" class lazyparser(object): """