/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_3.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-20 15:15:53 UTC
  • mfrom: (5905 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5952.
  • Revision ID: jelmer@samba.org-20110520151553-os9yowwk0klrslku
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        return [('trees', self.last_revision())]
73
73
 
74
74
    def unlock(self):
75
 
        # do non-implementation specific cleanup
76
 
        self._cleanup()
77
75
        if self._control_files._lock_count == 1:
 
76
           # do non-implementation specific cleanup
 
77
            self._cleanup()
78
78
            # _inventory_is_modified is always False during a read lock.
79
79
            if self._inventory_is_modified:
80
80
                self.flush()