debugger: give a little intro before entering pdb
authorMads Kiilerich <mads@kiilerich.com>
Wed, 30 Jun 2010 17:23:16 +0200
changeset 11495 6ee107782018
parent 11494 2347513f562a
child 11496 52762189c382
debugger: give a little intro before entering pdb
mercurial/dispatch.py
--- a/mercurial/dispatch.py	Wed Jun 30 17:20:42 2010 +0200
+++ b/mercurial/dispatch.py	Wed Jun 30 17:23:16 2010 +0200
@@ -49,6 +49,8 @@
         try:
             # enter the debugger before command execution
             if '--debugger' in args:
+                ui.warn(_("entering debugger - "
+                        "type c to continue starting hg or h for help\n"))
                 pdb.set_trace()
             try:
                 return _dispatch(ui, args)