~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.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:
64
64
    from revision import Revision
65
65
    from trace import mutter, note
66
66
 
67
 
    branch.lock('w')
 
67
    branch.lock_write()
68
68
 
69
69
    try:
70
70
        # First walk over the working inventory; and both update that