D1627: py3: handle keyword arguments correctly in color.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Dec 10 01:08:32 UTC 2017
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1627
AFFECTED FILES
mercurial/color.py
CHANGE DETAILS
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):
To: pulkit, #hg-reviewers
Cc: mercurial-devel, spectral
More information about the Mercurial-devel
mailing list