equal
deleted
inserted
replaced
593 @templatekeyword('termwidth') |
593 @templatekeyword('termwidth') |
594 def termwidth(repo, ctx, templ, **args): |
594 def termwidth(repo, ctx, templ, **args): |
595 """Integer. The width of the current terminal.""" |
595 """Integer. The width of the current terminal.""" |
596 return repo.ui.termwidth() |
596 return repo.ui.termwidth() |
597 |
597 |
|
598 @templatekeyword('troubles') |
|
599 def showtroubles(**args): |
|
600 """List of strings. Evolution troubles affecting the changeset. |
|
601 |
|
602 (EXPERIMENTAL) |
|
603 """ |
|
604 return showlist('trouble', args['ctx'].troubles(), **args) |
|
605 |
598 # tell hggettext to extract docstrings from these functions: |
606 # tell hggettext to extract docstrings from these functions: |
599 i18nfunctions = keywords.values() |
607 i18nfunctions = keywords.values() |