readmarkers: add a SHA256 fixme note
authorMatt Mackall <mpm@selenic.com>
Sun, 11 Jan 2015 16:46:13 -0600
changeset 23805 345042e024dc
parent 23804 e880036719e3
child 23806 d6cbbe3baef0
readmarkers: add a SHA256 fixme note
mercurial/obsolete.py
--- 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