/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

Use new convenience function in dulwich to open index.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
        self._control_files = lockable_files.LockableFiles(
78
78
            transport.get_transport(self.controldir), 'lock', lockdir.LockDir)
79
 
 
80
79
        self._format = GitWorkingTreeFormat()
81
 
 
82
 
        self.index_path = os.path.join(self.repository._git.controldir(), 
83
 
                                       "index")
84
 
        self.index = Index(self.index_path)
 
80
        self.index = self.repository._git.open_index()
85
81
        self.views = self._make_views()
86
82
        self._detect_case_handling()
87
83