~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2006-05-03 08:05:05 UTC
  • mfrom: (1624.3.45 bzr.olaf.info)
  • mto: This revision was merged to the branch mainline in revision 1697.
  • Revision ID: mbp@sourcefrog.net-20060503080505-dd3f40f3ee57b137
[merge] bzr info and lock improvements (olaf)

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
        # TODO: make sure to construct the right store classes, etc, depending
160
160
        # on whether escaping is required.
161
161
 
 
162
    def is_locked(self):
 
163
        return self.control_files.is_locked()
 
164
 
162
165
    def lock_write(self):
163
166
        self.control_files.lock_write()
164
167
 
165
168
    def lock_read(self):
166
169
        self.control_files.lock_read()
167
170
 
168
 
    def is_locked(self):
169
 
        return self.control_files.is_locked()
 
171
    def get_physical_lock_status(self):
 
172
        return self.control_files.get_physical_lock_status()
170
173
 
171
174
    @needs_read_lock
172
175
    def missing_revision_ids(self, other, revision_id=None):