Mercurial > hg-stable
changeset 33871:84a3e04e35b5
templatekw: rename termwidth() per convention
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 16 Aug 2017 13:57:19 +0900 |
parents | 3ae2eaecb49e |
children | 7827fbbd0b06 |
files | mercurial/templatekw.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templatekw.py Fri Aug 11 01:08:07 2017 -0700 +++ b/mercurial/templatekw.py Wed Aug 16 13:57:19 2017 +0900 @@ -760,7 +760,7 @@ keywords[name] = func @templatekeyword('termwidth') -def termwidth(repo, ctx, templ, **args): +def showtermwidth(repo, ctx, templ, **args): """Integer. The width of the current terminal.""" return repo.ui.termwidth()