[PATCH] templater: add strip function with chars as an extra argument
Matt Mackall
mpm at selenic.com
Tue Jun 25 13:03:07 CDT 2013
On Tue, 2013-06-25 at 21:57 +0400, Alexander Plavin wrote:
> # HG changeset patch
> # User Alexander Plavin <me at aplavin.ru>
> # Date 1372179742 -14400
> # Tue Jun 25 21:02:22 2013 +0400
> # Node ID b86e8cb9939493bdccce4ec5301cd0b7ea5c9cd7
> # Parent 1bef6f99a12d9062e737bb623da627719a3987e6
> templater: add strip function with chars as an extra argument
>
> This allows specifying characters to strip, like the Python strip function.
This'll want documentation/examples. That lives in mercurial/help/, I
think. A one-line test case would be good too, see
test-command-template.t.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list