Mercurial > hg
view tests/test-locale.t @ 49021:51aed118f9dc
templates: extract function to `stringutil` for getting first line of text
It's surprisingly hard to get the first line from a string, so let's
have our own function in `stringutil` for it.
Differential Revision: https://phab.mercurial-scm.org/D12404
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 24 Mar 2022 16:09:12 -0700 |
parents | afcad425a0b6 |
children |
line wrap: on
line source
$ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q Mercurial Distributed SCM (version *) (glob)