# HG changeset patch # User Mads Kiilerich # Date 1277911396 -7200 # Node ID 6ee107782018ef36777f2ebfab52b8efb889fea5 # Parent 2347513f562a09079d178f8401f8191baa106035 debugger: give a little intro before entering pdb diff -r 2347513f562a -r 6ee107782018 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)