/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: Jelmer Vernooij
  • Date: 2020-05-24 00:39:50 UTC
  • mto: This revision was merged to the branch mainline in revision 7504.
  • Revision ID: jelmer@jelmer.uk-20200524003950-bbc545r76vc5yajg
Add github action.

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
 
 
37
33
 
38
34
class GitFileLastChangeScanner(object):
39
35
 
86
82
            self.change_scanner.repository.lookup_bzr_revision_id(
87
83
                text_revision))
88
84
        try:
89
 
            path = encode_git_path(mapping.parse_file_id(file_id))
 
85
            path = mapping.parse_file_id(file_id).encode('utf-8')
90
86
        except ValueError:
91
87
            raise KeyError(file_id)
92
88
        text_parents = []