~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-13 02:13:10 UTC
  • Revision ID: mbp@sourcefrog.net-20050413021310-5d8f87711066e6b8
- New 'bzr log --verbose' from Sebastian Cote

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
    print bzrlib.branch.find_branch_root(filename)
510
510
    
511
511
 
512
 
def cmd_log(timezone='original'):
 
512
def cmd_log(timezone='original', verbose=False):
513
513
    """Show log of this branch.
514
514
 
515
515
    :todo: Options for utc; to show ids; to limit range; etc.
516
516
    """
517
 
    Branch('.').write_log(show_timezone=timezone)
 
517
    Branch('.').write_log(show_timezone=timezone, verbose=verbose)
518
518
 
519
519
 
520
520
def cmd_ls(revision=None, verbose=False):
775
775
    'deleted':                ['show-ids'],
776
776
    'diff':                   ['revision'],
777
777
    'inventory':              ['revision'],
778
 
    'log':                    ['timezone'],
 
778
    'log':                    ['timezone', 'verbose'],
779
779
    'ls':                     ['revision', 'verbose'],
780
780
    'remove':                 ['verbose'],
781
781
    'status':                 ['all'],
1047
1047
    sys.exit(main(sys.argv))
1048
1048
    ##import profile
1049
1049
    ##profile.run('main(sys.argv)')
1050