[PATCH STABLE] extdiff: escape path for docstring (issue5301)

Matt Mackall mpm at selenic.com
Tue Jul 26 13:45:00 EDT 2016


On Tue, 2016-07-26 at 21:58 +0900, Yuya Nishihara wrote:
> 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.

Seems my pyflakes setup is still busted.

> > 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.

That's probably the right answer, since we have exactly one user at present.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list