memctx: substate needs to be {} instead of None
Setting substate to None was an oversight in
7cfd94ec5d30 and this patch
corrects it by setting substate to an empty dictionary which matches what
subrepo code expects.
--- a/mercurial/context.py Wed Jul 23 11:16:22 2014 -0500
+++ b/mercurial/context.py Wed Jul 16 13:07:39 2014 -0500
@@ -1577,7 +1577,7 @@
files = sorted(set(files))
self._status = [files, [], [], [], []]
self._filectxfn = filectxfn
- self.substate = None
+ self.substate = {}
self._extra = extra and extra.copy() or {}
if self._extra.get('branch', '') == '':