Submitter | phabricator |
---|---|
Date | Oct. 16, 2017, 9:17 a.m. |
Message ID | <a7f71ba5ec535c315e99f065107c8bee@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/24968/ |
State | Not Applicable |
Headers | show |
Comments
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'):