/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-07-18 23:14:00 UTC
  • mfrom: (7490.40.62 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200718231400-jaes9qltn8oi8xss
Merge lp:brz/3.1.

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 = []