--- a/mercurial/obsolete.py Sat Jan 10 21:27:29 2015 -0600
+++ b/mercurial/obsolete.py Sat Jan 10 21:28:15 2015 -0600
@@ -302,12 +302,10 @@
_fm1node = _fm1nodesha256
fnodesize = _fm1nodesha256size
- # read replacement
- sucs = ()
- if numsuc:
- s = (fnodesize * numsuc)
- sucs = _unpack(_fm1node * numsuc, data[off:off + s])
- off += s
+ # read 0 or more successors
+ s = (fnodesize * numsuc)
+ sucs = _unpack(_fm1node * numsuc, data[off:off + s])
+ off += s
# read parents
if numpar == _fm1parentnone: