author | Matt Mackall <mpm@selenic.com> |
Thu, 26 May 2011 17:15:35 -0500 | |
changeset 14442 | 5b48ad1e7f1a |
parent 14441 | 39e81b9377e6 |
child 14443 | 6fe6defdc924 |
--- a/mercurial/cmdutil.py Thu May 26 19:00:47 2011 +0300 +++ b/mercurial/cmdutil.py Thu May 26 17:15:35 2011 -0500 @@ -1215,9 +1215,9 @@ def cmd(name, options, synopsis=None): def decorator(func): if synopsis: - table[name] = func, options, synopsis + table[name] = func, options[:], synopsis else: - table[name] = func, options + table[name] = func, options[:] return func return decorator