/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: 2019-05-20 03:57:29 UTC
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190520035729-9rxvefxkvbbivygy
use default_user_agent function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
            self.change_scanner.repository.lookup_bzr_revision_id(
85
85
                text_revision))
86
86
        try:
87
 
            path = mapping.parse_file_id(file_id).encode('utf-8')
 
87
            path = mapping.parse_file_id(file_id)
88
88
        except ValueError:
89
89
            raise KeyError(file_id)
90
90
        text_parents = []
92
92
            try:
93
93
                (path, text_parent) = (
94
94
                    self.change_scanner.find_last_change_revision(
95
 
                        path, commit_parent))
 
95
                        path.encode('utf-8'), commit_parent))
96
96
            except KeyError:
97
97
                continue
98
98
            if text_parent not in text_parents: