Mercurial > public > mercurial-scm > hg-stable
diff mercurial/logcmdutil.py @ 36471:27cd83152d31
templatekw: simply override {graphwidth} function by mapping variable
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 25 Feb 2018 14:12:34 +0900 |
parents | 7bc10d3f68b4 |
children | 6ad140dc4269 |
line wrap: on
line diff
--- a/mercurial/logcmdutil.py Sun Feb 25 16:40:41 2018 +0900 +++ b/mercurial/logcmdutil.py Sun Feb 25 14:12:34 2018 +0900 @@ -889,7 +889,7 @@ firstedge = next(edges) width = firstedge[2] displayer.show(ctx, copies=copies, - _graphwidth=width, **pycompat.strkwargs(props)) + graphwidth=width, **pycompat.strkwargs(props)) lines = displayer.hunk.pop(rev).split('\n') if not lines[-1]: del lines[-1]