~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-05 06:59:12 UTC
  • Revision ID: mbp@sourcefrog.net-20050505065912-87c25dafda4579ed
- Split out log printing into new show_log function
  not as a method of Branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
    takes_options = ['timezone', 'verbose', 'show-ids']
427
427
    def run(self, timezone='original', verbose=False, show_ids=False):
428
428
        b = Branch('.', lock_mode='r')
429
 
        b.write_log(show_timezone=timezone,
430
 
                    verbose=verbose,
431
 
                    show_ids=show_ids)
 
429
        b.show_log(show_timezone=timezone,
 
430
                   verbose=verbose,
 
431
                   show_ids=show_ids)
432
432
 
433
433
 
434
434
class cmd_ls(Command):