[PATCH STABLE] extdiff: escape path for docstring (issue5301)
yuya at tcha.org
Tue Jul 26 08:58:01 EDT 2016
On Mon, 25 Jul 2016 16:26:03 -0500, Matt Mackall wrote:
> # HG changeset patch
> # User Matt Mackall <mpm at selenic.com>
> # Date 1468877135 18000
> # Mon Jul 18 16:25:35 2016 -0500
> # Node ID 13a9fb0d88ac8544e28b17e1663315d31f11859b
> # Parent 953839de96ab574caa40557c542c262286c6287c
> extdiff: escape path for docstring (issue5301)
Removed unused import and queued this, thanks.
> This has the side-effect that the line containing the path is now
> variable by the time it reaches _() and thus can't be translated.
That's unfortunate, but the direction of this patch seems legit. Maybe
we can rephrase the docstring to not include %(path)s in sentence.
More information about the Mercurial-devel