changeset 23805:345042e024dc

readmarkers: add a SHA256 fixme note
author Matt Mackall <mpm@selenic.com>
date Sun, 11 Jan 2015 16:46:13 -0600
parents e880036719e3
children d6cbbe3baef0
files mercurial/obsolete.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/obsolete.py	Sun Jan 11 16:37:57 2015 -0600
+++ b/mercurial/obsolete.py	Sun Jan 11 16:46:13 2015 -0600
@@ -307,6 +307,8 @@
         t, secs, tz, flags, numsuc, numpar, nummeta, prec = ufixed(data[off:o1])
 
         if flags & sha2flag:
+            # FIXME: prec was read as a SHA1, needs to be amended
+
             # read 0 or more successors
             if numsuc == 1:
                 o2 = o1 + sha2size