~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Denys Duchier
  • Date: 2006-01-12 16:03:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1545.
  • Revision ID: denys.duchier@mozart-oz.org-20060112160312-2ef168ffc0964c11
removed the lock_write method for read-only trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
    def lock_read(self):
109
109
        pass
110
110
 
111
 
    def lock_write(self):
112
 
        pass
113
 
 
114
111
    def unlock(self):
115
112
        pass
116
113
        
184
181
    def lock_read(self):
185
182
        self._branch.lock_read()
186
183
 
187
 
    def lock_write(self):
188
 
        self._branch.lock_write()
189
 
 
190
184
    def unlock(self):
191
185
        self._branch.unlock()
192
186