diff -r feae4d1f5e01 -r d6a13f6db69c hgext/fastannotate/context.py --- a/hgext/fastannotate/context.py Mon Nov 19 20:30:07 2018 +0300 +++ b/hgext/fastannotate/context.py Mon Nov 19 21:11:08 2018 +0300 @@ -156,6 +156,7 @@ } def __init__(self, **opts): + opts = pycompat.byteskwargs(opts) for k, v in self.defaults.iteritems(): setattr(self, k, opts.get(k, v))