~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
1031
1031
        """
1032
1032
        return self.branch.last_revision()
1033
1033
 
 
1034
    def is_locked(self):
 
1035
        return self._control_files.is_locked()
 
1036
 
1034
1037
    def lock_read(self):
1035
1038
        """See Branch.lock_read, and WorkingTree.unlock."""
1036
1039
        self.branch.lock_read()
1049
1052
            self.branch.unlock()
1050
1053
            raise
1051
1054
 
 
1055
    def get_physical_lock_status(self):
 
1056
        return self._control_files.get_physical_lock_status()
 
1057
 
1052
1058
    def _basis_inventory_name(self):
1053
1059
        return 'basis-inventory'
1054
1060