Mercurial > hg
diff hgext/convert/cvs.py @ 8598:5edb2a8e29ea
convert: deprecate external cvsps, to be removed in 1.4
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 24 May 2009 16:27:56 +0200 |
parents | f55869abb5c3 |
children | 3b76321aa0de 89fd11257d75 |
line wrap: on
line diff
--- a/hgext/convert/cvs.py Sun May 24 16:27:50 2009 +0200 +++ b/hgext/convert/cvs.py Sun May 24 16:27:56 2009 +0200 @@ -25,6 +25,9 @@ self.cmd = ui.config('convert', 'cvsps', 'builtin') cvspsexe = self.cmd.split(None, 1)[0] self.builtin = cvspsexe == 'builtin' + if not self.builtin: + ui.warn(_('warning: support for external cvsps is deprecated and ' + 'will be removed in Mercurial 1.4\n')) if not self.builtin: checktool(cvspsexe)