Submitter | Sean Farley |
---|---|
Date | Nov. 25, 2013, 5:42 p.m. |
Message ID | <45892c8fe1d557842ab6.1385401334@dyn-160-39-236-172.dyn.columbia.edu> |
Download | mbox | patch |
Permalink | /patch/3121/ |
State | Superseded |
Commit | 8f4a226c840c38b905c5cba2596d8ffe3cd27bca |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -104,12 +104,13 @@ # copy configs that were passed on the cmdline (--config) to # the repo ui for cfg in cfgs: req.repo.ui.setconfig(*cfg) + # if we are in HGPLAIN mode, then disable custom debugging debugger = ui.config("ui", "debugger") - if not debugger: + if not debugger or ui.plain(): debugger = 'pdb' try: debugmod = __import__(debugger) except ImportError: