Submitter | phabricator |
---|---|
Date | Feb. 13, 2018, 3:48 a.m. |
Message ID | <474feb2b8167ee28231badf3d782687a@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/27793/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -3171,7 +3171,7 @@ Not be used in production code but very convenient while developing. ''' - entries = [(fileline % (fn, ln), func) + entries = [(fileline % (pycompat.sysbytes(fn), ln), pycompat.sysbytes(func)) for fn, ln, func, _text in traceback.extract_stack()[:-skip - 1] ][-depth:] if entries: