[PATCH 5 of 6] win32text: mark deprecated extension option deprecated

Matt Mackall mpm at selenic.com
Thu Jul 16 12:36:01 CDT 2015


# HG changeset patch
# User Matt Mackall <mpm at selenic.com>
# Date 1435272165 18000
#      Thu Jun 25 17:42:45 2015 -0500
# Node ID 9356be27301fc4c0fbb9197cd0439703323b5d35
# Parent  38174634314fef7a4ea3ada503869b64448e843f
win32text: mark deprecated extension option deprecated

diff -r 38174634314f -r 9356be27301f hgext/win32text.py
--- a/hgext/win32text.py	Thu Jun 25 17:42:09 2015 -0500
+++ b/hgext/win32text.py	Thu Jun 25 17:42:45 2015 -0500
@@ -171,6 +171,7 @@
         repo.adddatafilter(name, fn)
 
 def extsetup(ui):
+    # deprecated config: win32text.warn
     if ui.configbool('win32text', 'warn', True):
         ui.warn(_("win32text is deprecated: "
                   "http://mercurial.selenic.com/wiki/Win32TextExtension\n"))


More information about the Mercurial-devel mailing list