changeset 11495:6ee107782018

debugger: give a little intro before entering pdb
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 30 Jun 2010 17:23:16 +0200
parents 2347513f562a
children 52762189c382
files mercurial/dispatch.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)