/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

  • Committer: Jelmer Vernooij
  • Date: 2009-03-28 22:27:07 UTC
  • mto: (0.200.305 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090328222707-n0y980ntev40xqd2
Fix blob lookup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""An adapter between a Git index and a Bazaar Working Tree"""
18
18
 
 
19
from dulwich.index import (
 
20
    Index,
 
21
    )
19
22
import os
20
23
 
21
24
from bzrlib import (
27
30
    workingtree,
28
31
    )
29
32
 
30
 
from dulwich.index import Index
31
 
 
32
33
class GitWorkingTree(workingtree.WorkingTree):
33
34
    """A Git working tree."""
34
35
 
54
55
 
55
56
        self.index = Index(os.path.join(self.repository._git.controldir(), 
56
57
            "index"))
 
58
        self.views = self._make_views()
57
59
 
58
60
    def unlock(self):
59
61
        # non-implementation specific cleanup