Patchwork [2,of,2] similar: delete extra newline at EOF

login
register
mail settings
Submitter Augie Fackler
Date June 10, 2016, 4:38 a.m.
Message ID <41f829150c07ffdaad42.1465533519@imladris.local>
Download mbox | patch
Permalink /patch/15449/
State Accepted
Headers show

Comments

Augie Fackler - June 10, 2016, 4:38 a.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1465532083 14400
#      Fri Jun 10 00:14:43 2016 -0400
# Node ID 41f829150c07ffdaad42acef522487fa1eb3c23f
# Parent  94bc30a7dede0fabc883f67bd23df01a362b5562
similar: delete extra newline at EOF

Spotted by my emacs config that cleans up extra whitespace.

Patch

diff --git a/mercurial/similar.py b/mercurial/similar.py
--- a/mercurial/similar.py
+++ b/mercurial/similar.py
@@ -106,4 +106,3 @@  def findrenames(repo, added, removed, th
         for (a, b, score) in _findsimilarmatches(repo,
                 sorted(addedfiles), sorted(removedfiles), threshold):
             yield (a.path(), b.path(), score)
-