Submitter | phabricator |
---|---|
Date | Oct. 16, 2017, 1:30 a.m. |
Message ID | <differential-rev-PHID-DREV-dpvr6u5l6v5htiihxbfb-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/24960/ |
State | Superseded |
Headers | show |
Comments
ryanmce accepted this revision. ryanmce added a comment. This revision is now accepted and ready to land. queued REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1101 To: durin42, #hg-reviewers, ryanmce Cc: ryanmce, mercurial-devel
Patch
diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -325,7 +325,8 @@ continue keytype = gboptsmap.get(key) if keytype is None: - assert False, 'unexpected' + raise error.ProgrammingError( + 'Unexpectedly None keytype for key %s' % key) elif keytype == 'nodes': value = encodelist(value) elif keytype in ('csv', 'scsv'):