hgext/win32text.py
branchstable
changeset 12837 c82056f2509f
parent 11269 5f01fd602542
child 16743 38caf405d010
--- a/hgext/win32text.py	Mon Oct 25 13:07:27 2010 -0500
+++ b/hgext/win32text.py	Mon Oct 25 11:29:32 2010 -0500
@@ -164,3 +164,7 @@
     for name, fn in _filters.iteritems():
         repo.adddatafilter(name, fn)
 
+def extsetup(ui):
+    if ui.configbool('win32text', 'warn', True):
+        ui.warn(_("win32text is deprecated: "
+                  "http://mercurial.selenic.com/wiki/Win32TextExtension\n"))