Submitter | Gregory Szorc |
---|---|
Date | Feb. 4, 2015, 10:17 p.m. |
Message ID | <f6866444b15b1bb1c5e2.1423088231@gps-mbp.local> |
Download | mbox | patch |
Permalink | /patch/7674/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -916,8 +916,10 @@ def statprofile(ui, func, fp): statprof.stop() statprof.display(fp) def _runcommand(ui, options, cmd, cmdfunc): + _latefixupui(ui, options, cmd, cmdfunc) + def checkargs(): try: return cmdfunc() except error.SignatureError: @@ -948,4 +950,7 @@ def _runcommand(ui, options, cmd, cmdfun if output: fp.close() else: return checkargs() + +def _latefixupui(ui, options, cmd, cmdfunc): + """Additionally extensibility point called during _runcommand."""