changeset 34780:070ba789f4d0

releasenotes: fix documentation of similaritycheck() The function document says that it returns true when the fragment can be merged, but if you see the function just above it which is similar(), it writes already exists thing if return value from similaritycheck() is False which is just opposite of the doc. This patch fixes that. Differential Revision: https://phab.mercurial-scm.org/D1119
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 16 Oct 2017 22:19:02 +0530
parents cfb054a7ecc4
children fe987d0b9e1e
files hgext/releasenotes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/releasenotes.py	Sat Oct 14 01:15:01 2017 +0200
+++ b/hgext/releasenotes.py	Mon Oct 16 22:19:02 2017 +0530
@@ -216,7 +216,7 @@
 
 def similaritycheck(incoming_str, existingnotes):
     """
-    Returns true when note fragment can be merged to existing notes.
+    Returns false when note fragment can be merged to existing notes.
     """
     import fuzzywuzzy.fuzz as fuzz
     merge = True