~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-20 02:12:28 UTC
  • Revision ID: mbp@sourcefrog.net-20050520021228-bc46a17f07eff7f9
- diff only needs a read lock

Show diffs side-by-side

added added

removed removed

Lines of Context:
494
494
    def run(self, revision=None, file_list=None):
495
495
        from bzrlib.diff import show_diff
496
496
    
497
 
        show_diff(Branch('.'), revision, specific_files=file_list)
 
497
        show_diff(Branch('.', lock_mode='r'), revision, specific_files=file_list)
498
498
 
499
499
 
500
500