Patchwork [5,of,6] win32text: mark deprecated extension option deprecated

login
register
mail settings
Submitter Matt Mackall
Date July 16, 2015, 5:36 p.m.
Message ID <9356be27301fc4c0fbb9.1437068161@ruin.waste.org>
Download mbox | patch
Permalink /patch/10017/
State Accepted
Commit 38cf0908bf98cac53dfea803567acdf99d202e72
Headers show

Comments

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

Patch

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"))