diff --git a/mercurial/color.py b/mercurial/color.py --- a/mercurial/color.py +++ b/mercurial/color.py @@ -484,7 +484,7 @@ _win32print(ui, text, writefunc, **opts) def _win32print(ui, text, writefunc, **opts): - label = opts.get('label', '') + label = opts.get(r'label', '') attr = origattr def mapcolor(val, attr):