/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/git/filegraph.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-07-20 02:17:05 UTC
  • mfrom: (7518.1.2 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200720021705-5f11tmo1hdqjxm6x
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/387628

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    NULL_REVISION,
31
31
    )
32
32
 
 
33
from .mapping import (
 
34
    encode_git_path,
 
35
    )
 
36
 
33
37
 
34
38
class GitFileLastChangeScanner(object):
35
39
 
82
86
            self.change_scanner.repository.lookup_bzr_revision_id(
83
87
                text_revision))
84
88
        try:
85
 
            path = mapping.parse_file_id(file_id).encode('utf-8')
 
89
            path = encode_git_path(mapping.parse_file_id(file_id))
86
90
        except ValueError:
87
91
            raise KeyError(file_id)
88
92
        text_parents = []