/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 breezy/plugins/git/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-23 22:25:11 UTC
  • mto: This revision was merged to the branch mainline in revision 7053.
  • Revision ID: jelmer@jelmer.uk-20180723222511-gns8mqohgakwa2b9
Some brz-git fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
                    raise errors.RevisionNotPresent((fileid, revid), self)
339
339
                try:
340
340
                    obj = tree_lookup_path(
341
 
                        self._git.object_store.__getitem__, root_tree, path)
 
341
                        self._git.object_store.__getitem__, root_tree,
 
342
                        path.encode('utf-8'))
342
343
                    if isinstance(obj, tuple):
343
344
                        (mode, item_id) = obj
344
345
                        obj = self._git.object_store[item_id]