/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 workingtree.py

Merge changes, open index.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
        self.index = Index(os.path.join(self.repository._git.controldir(), 
56
56
            "index"))
57
 
        self.views = self._make_views()
 
57
 
 
58
    def lock_read(self):
 
59
        pass
58
60
 
59
61
    def unlock(self):
60
 
        # non-implementation specific cleanup
61
 
        self._cleanup()
62
 
 
63
 
        # reverse order of locking.
64
 
        try:
65
 
            return self._control_files.unlock()
66
 
        finally:
67
 
            self.branch.unlock()
 
62
        pass
68
63
 
69
64
    def is_control_filename(self, path):
70
65
        return os.path.basename(path) == ".git"