[PATCH 2 of 2] mdiff: use str.startswith/endswith() instead of slicing

Augie Fackler raf at durin42.com
Wed Feb 7 06:34:04 EST 2018



> On Feb 4, 2018, at 12:17, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1517707994 -32400
> #      Sun Feb 04 10:33:14 2018 +0900
> # Node ID 16b4cc4f0cd6f72f5b7be575a7498ed0017ccea5
> # Parent  d41b22b06360ceee3a9e6e66df5f57f267318314
> mdiff: use str.startswith/endswith() instead of slicing

I shoulda noticed that. Queued, thanks!


More information about the Mercurial-devel mailing list