# HG changeset patch # User Matt Mackall # Date 1271713664 18000 # Node ID 021d5ac3bec04a6bf0f701464d90fdbaff172d40 # Parent 0d5f139b23c1bdac16399663f006c9dc147b6391 debugcomplete: don't list deprecated options diff -r 0d5f139b23c1 -r 021d5ac3bec0 mercurial/commands.py --- 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])