Submitter | Sean Farley |
---|---|
Date | Nov. 26, 2013, 1:37 a.m. |
Message ID | <45892c8fe1d557842ab6.1385429827@laptop.local> |
Download | mbox | patch |
Permalink | /patch/3142/ |
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: