~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 03:34:34 UTC
  • Revision ID: mbp@sourcefrog.net-20050505033434-5fff60df09cb61c6
- Per-branch locks in read and write modes.
  (Not on Windows yet.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
420
420
    """
421
421
    takes_options = ['timezone', 'verbose']
422
422
    def run(self, timezone='original', verbose=False):
423
 
        Branch('.').write_log(show_timezone=timezone, verbose=verbose)
 
423
        Branch('.', lock_mode='r').write_log(show_timezone=timezone, verbose=verbose)
424
424
 
425
425
 
426
426
class cmd_ls(Command):