Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 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 | ca739acf1a98 |
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])