Show More
@@ -1852,17 +1852,6 b' Test synopsis and docstring extending' | |||||
1852 | GREPME make sure that this is in the help! |
|
1852 | GREPME make sure that this is in the help! | |
1853 | $ cd .. |
|
1853 | $ cd .. | |
1854 |
|
1854 | |||
1855 | Show deprecation warning for the use of cmdutil.command |
|
|||
1856 |
|
||||
1857 | $ cat > nonregistrar.py <<EOF |
|
|||
1858 | > from mercurial import cmdutil |
|
|||
1859 | > cmdtable = {} |
|
|||
1860 | > command = cmdutil.command(cmdtable) |
|
|||
1861 | > @command(b'foo', [], norepo=True) |
|
|||
1862 | > def foo(ui): |
|
|||
1863 | > pass |
|
|||
1864 | > EOF |
|
|||
1865 |
|
||||
1866 | Prohibit the use of unicode strings as the default value of options |
|
1855 | Prohibit the use of unicode strings as the default value of options | |
1867 |
|
1856 | |||
1868 | $ hg init $TESTTMP/opt-unicode-default |
|
1857 | $ hg init $TESTTMP/opt-unicode-default |
General Comments 0
You need to be logged in to leave comments.
Login now