~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/status.py

  • Committer: Martin Pool
  • Date: 2005-05-31 08:10:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050531081044-0f6d28e39b8e19de
- replace Branch.lock(mode) with separate lock_read and lock_write 
  methods

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    import sys
31
31
    from bzrlib.diff import compare_trees
32
32
    
33
 
    branch.lock('r')
 
33
    branch.lock_read()
34
34
    try:
35
35
 
36
36
        old = branch.basis_tree()