diff mercurial/obsolete.py @ 22849:fd759142c6e5

obsolete: use uint## in the format documention This is shorter and kind of more readable for people who care about binary format.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 09 Oct 2014 00:15:04 -0700
parents 72100c1d53d4
children b078e4dc9f9a
line wrap: on
line diff
--- a/mercurial/obsolete.py	Wed Oct 08 22:34:48 2014 -0700
+++ b/mercurial/obsolete.py	Thu Oct 09 00:15:04 2014 -0700
@@ -117,9 +117,9 @@
 #
 # The header is followed by the markers. Each marker is made of:
 #
-# - 1 unsigned byte: number of new changesets "N", can be zero.
+# - 1 uint8 : number of new changesets "N", can be zero.
 #
-# - 1 unsigned 32-bits integer: metadata size "M" in bytes.
+# - 1 uint32: metadata size "M" in bytes.
 #
 # - 1 byte: a bit field. It is reserved for flags used in common
 #   obsolete marker operations, to avoid repeated decoding of metadata