/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-06-11 12:46:45 UTC
  • mfrom: (7511.1.1 actions-no-fork)
  • Revision ID: breezy.the.bot@gmail.com-20200611124645-4lx66gps99i0hmzh
Avoid using fork when running the testsuite in github actions.

Merged from https://code.launchpad.net/~jelmer/brz/actions-no-fork/+merge/385565

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