Mercurial > hg-stable
changeset 10958:021d5ac3bec0
debugcomplete: don't list deprecated options
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 19 Apr 2010 16:47:44 -0500 |
parents | 0d5f139b23c1 |
children | d1f4657f55e4 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Apr 18 18:18:19 2010 -0400 +++ b/mercurial/commands.py Mon Apr 19 16:47:44 2010 -0500 @@ -802,6 +802,8 @@ otables.append(entry[1]) for t in otables: for o in t: + if "(DEPRECATED)" in o[3]: + continue if o[0]: options.append('-%s' % o[0]) options.append('--%s' % o[1])