~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Aaron Bentley
  • Date: 2005-10-03 19:50:36 UTC
  • mfrom: (1399)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: abentley@panoramicfeedback.com-20051003195036-28dbd56f0e852b08
Merged latest from Robert Collins

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# would help with validation and shell completion.
33
33
 
34
34
 
 
35
# TODO: Help messages for options.
 
36
 
 
37
# TODO: Define arguments by objects, rather than just using names.
 
38
# Those objects can specify the expected type of the argument, which
 
39
# would help with validation and shell completion.
 
40
 
 
41
 
35
42
 
36
43
import sys
37
44
import os
571
578
    --profile
572
579
        Run under the Python profiler.
573
580
    """
 
581
    # Load all of the transport methods
 
582
    import bzrlib.transport.local, bzrlib.transport.http
574
583
    
575
584
    argv = [a.decode(bzrlib.user_encoding) for a in argv]
576
585
 
662
671
            bzrlib.trace.log_exception()
663
672
            return 2
664
673
 
665
 
 
666
674
if __name__ == '__main__':
667
675
    sys.exit(main(sys.argv))