Submitter | phabricator |
---|---|
Date | Feb. 13, 2018, 3:48 a.m. |
Message ID | <a0ce058bc7169fe90b2232e414f695c3@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/27792/ |
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 @@ -3159,7 +3159,7 @@ results.append(hook(*args)) return results -def getstackframes(skip=0, line=' %-*s in %s\n', fileline='%s:%s', depth=0): +def getstackframes(skip=0, line=' %-*s in %s\n', fileline='%s:%d', depth=0): '''Yields lines for a nicely formatted stacktrace. Skips the 'skip' last entries, then return the last 'depth' entries. Each file+linenumber is formatted according to fileline.