Show More
@@ -685,21 +685,21 b' this is a section and erroring out weird' | |||||
685 | > cmdtable = {} |
|
685 | > cmdtable = {} | |
686 | > command = registrar.command(cmdtable) |
|
686 | > command = registrar.command(cmdtable) | |
687 | > |
|
687 | > | |
688 | > @command('nohelp', |
|
688 | > @command(b'nohelp', | |
689 | > [('', 'longdesc', 3, 'x'*90), |
|
689 | > [(b'', b'longdesc', 3, b'x'*90), | |
690 | > ('n', '', None, 'normal desc'), |
|
690 | > (b'n', b'', None, b'normal desc'), | |
691 | > ('', 'newline', '', 'line1\nline2')], |
|
691 | > (b'', b'newline', b'', b'line1\nline2')], | |
692 | > 'hg nohelp', |
|
692 | > b'hg nohelp', | |
693 | > norepo=True) |
|
693 | > norepo=True) | |
694 | > @command('debugoptADV', [('', 'aopt', None, 'option is (ADVANCED)')]) |
|
694 | > @command(b'debugoptADV', [(b'', b'aopt', None, b'option is (ADVANCED)')]) | |
695 | > @command('debugoptDEP', [('', 'dopt', None, 'option is (DEPRECATED)')]) |
|
695 | > @command(b'debugoptDEP', [(b'', b'dopt', None, b'option is (DEPRECATED)')]) | |
696 | > @command('debugoptEXP', [('', 'eopt', None, 'option is (EXPERIMENTAL)')]) |
|
696 | > @command(b'debugoptEXP', [(b'', b'eopt', None, b'option is (EXPERIMENTAL)')]) | |
697 | > def nohelp(ui, *args, **kwargs): |
|
697 | > def nohelp(ui, *args, **kwargs): | |
698 | > pass |
|
698 | > pass | |
699 | > |
|
699 | > | |
700 | > def uisetup(ui): |
|
700 | > def uisetup(ui): | |
701 | > ui.setconfig('alias', 'shellalias', '!echo hi', 'helpext') |
|
701 | > ui.setconfig(b'alias', b'shellalias', b'!echo hi', b'helpext') | |
702 | > ui.setconfig('alias', 'hgalias', 'summary', 'helpext') |
|
702 | > ui.setconfig(b'alias', b'hgalias', b'summary', b'helpext') | |
703 | > |
|
703 | > | |
704 | > EOF |
|
704 | > EOF | |
705 | $ echo '[extensions]' >> $HGRCPATH |
|
705 | $ echo '[extensions]' >> $HGRCPATH |
General Comments 0
You need to be logged in to leave comments.
Login now