Mercurial > hg
comparison hgext/win32text.py @ 12837:c82056f2509f stable
win32text: give deprecation warning
Users need to migrate to the EOL extension for various reasons.
Instructions for disabling the warning will be added to the
extension's wiki page.
author | Steve Borho <steve@borho.org> |
---|---|
date | Mon, 25 Oct 2010 11:29:32 -0500 |
parents | 5f01fd602542 |
children | 38caf405d010 |
comparison
equal
deleted
inserted
replaced
12836:6137c5bba4d0 | 12837:c82056f2509f |
---|---|
162 if not repo.local(): | 162 if not repo.local(): |
163 return | 163 return |
164 for name, fn in _filters.iteritems(): | 164 for name, fn in _filters.iteritems(): |
165 repo.adddatafilter(name, fn) | 165 repo.adddatafilter(name, fn) |
166 | 166 |
167 def extsetup(ui): | |
168 if ui.configbool('win32text', 'warn', True): | |
169 ui.warn(_("win32text is deprecated: " | |
170 "http://mercurial.selenic.com/wiki/Win32TextExtension\n")) |