Mercurial > hg
changeset 21938:c8411fb5dfef stable
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.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Wed, 16 Jul 2014 13:07:39 -0500 |
parents | 54ff2789d75e |
children | f486001f9d6f |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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', '') == '':