##// END OF EJS Templates
test-commandserver: clean up quoting and location of dbgui extension...
Yuya Nishihara -
r40627:c49283e7 default
parent child Browse files
Show More
@@ -607,7 +607,7 b' changelog and manifest would have invali'
607 607 *** runcommand qqueue --active
608 608 foo
609 609
610 $ cat <<EOF > dbgui.py
610 $ cat <<'EOF' > ../dbgui.py
611 611 > import os
612 612 > import sys
613 613 > from mercurial import commands, registrar
@@ -615,10 +615,10 b' changelog and manifest would have invali'
615 615 > command = registrar.command(cmdtable)
616 616 > @command(b"debuggetpass", norepo=True)
617 617 > def debuggetpass(ui):
618 > ui.write(b"%s\\n" % ui.getpass())
618 > ui.write(b"%s\n" % ui.getpass())
619 619 > @command(b"debugprompt", norepo=True)
620 620 > def debugprompt(ui):
621 > ui.write(b"%s\\n" % ui.prompt(b"prompt:"))
621 > ui.write(b"%s\n" % ui.prompt(b"prompt:"))
622 622 > @command(b"debugreadstdin", norepo=True)
623 623 > def debugreadstdin(ui):
624 624 > ui.write(b"read: %r\n" % sys.stdin.read(1))
@@ -630,7 +630,7 b' changelog and manifest would have invali'
630 630 > EOF
631 631 $ cat <<EOF >> .hg/hgrc
632 632 > [extensions]
633 > dbgui = dbgui.py
633 > dbgui = ../dbgui.py
634 634 > EOF
635 635
636 636 >>> from hgclient import check, readchannel, runcommand, stringio
General Comments 0
You need to be logged in to leave comments. Login now