/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/mapping.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 02:48:11 UTC
  • mfrom: (7143.7.1 unused-import)
  • Revision ID: breezy.the.bot@gmail.com-20181116024811-q2wd1lddpxizz25h
Remove some unused bzr-specific imports in breezy.git.

Merged from https://code.launchpad.net/~jelmer/brz/unused-import/+merge/358359

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    trace,
31
31
    urlutils,
32
32
    )
33
 
from ..bzr.inventory import (
34
 
    ROOT_ID,
35
 
    )
36
33
from ..foreign import (
37
34
    ForeignVcs,
38
35
    VcsMappingRegistry,
73
70
 
74
71
FILE_ID_PREFIX = b'git:'
75
72
 
 
73
# Always the same.
 
74
ROOT_ID = b"TREE_ROOT"
 
75
 
76
76
 
77
77
def escape_file_id(file_id):
78
78
    return file_id.replace(b'_', b'__').replace(b' ', b'_s').replace(b'\x0c', b'_c')