~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

[merge] trace improvements

 - shorter error messages on exceptions

 - shorter display of status and time in selftest output

 - send debug output direct to file to reduce cost of going
   through Python logging

 - always send exception tracebacks to trace file

Show diffs side-by-side

added added

removed removed

Lines of Context:
540
540
            pass
541
541
    return ignore_pipe
542
542
 
 
543
 
543
544
def main(argv):
544
545
    import bzrlib.ui
 
546
    ## bzrlib.trace.enable_default_logging()
545
547
    bzrlib.trace.log_startup(argv)
546
548
    bzrlib.ui.ui_factory = bzrlib.ui.TextUIFactory()
547
 
 
548
 
    return run_bzr_catch_errors(argv[1:])
 
549
    ret = run_bzr_catch_errors(argv[1:])
 
550
    mutter("return code %d", ret)
 
551
    return ret
549
552
 
550
553
 
551
554
def run_bzr_catch_errors(argv):