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 |
|
|
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 |
|
|
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