~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-29 22:03:03 UTC
  • mfrom: (5416.2.6 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100929220303-cr95h8iwtggco721
(mbp) Add 'break-lock --force'

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from bzrlib import (
22
22
    errors,
23
 
    osutils,
24
23
    revision,
25
 
    symbol_versioning,
26
24
    tree,
27
25
    )
28
26
 
176
174
        return set(self._repository.get_ancestry(self._revision_id,
177
175
                                                 topo_sorted=False))
178
176
 
 
177
    def is_locked(self):
 
178
        return self._repository.is_locked()
 
179
 
179
180
    def lock_read(self):
180
181
        self._repository.lock_read()
 
182
        return self
181
183
 
182
184
    def __repr__(self):
183
185
        return '<%s instance at %x, rev_id=%r>' % (