/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-08-11 12:19:56 UTC
  • mfrom: (6986.2.4 git-graduate)
  • Revision ID: breezy.the.bot@gmail.com-20180811121956-vg4h6snulccpy99e
Move git support to breezy.git.

Merged from https://code.launchpad.net/~jelmer/brz/git-graduate/+merge/348051

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import base64
24
24
import stat
25
25
 
26
 
from ... import (
 
26
from .. import (
27
27
    bencode,
28
28
    errors,
29
29
    foreign,
30
30
    trace,
31
31
    urlutils,
32
32
    )
33
 
from ...bzr.inventory import (
 
33
from ..bzr.inventory import (
34
34
    ROOT_ID,
35
35
    )
36
 
from ...foreign import (
 
36
from ..foreign import (
37
37
    ForeignVcs,
38
38
    VcsMappingRegistry,
39
39
    ForeignRevision,
40
40
    )
41
 
from ...revision import (
 
41
from ..revision import (
42
42
    NULL_REVISION,
43
43
    )
44
 
from ...sixish import (
 
44
from ..sixish import (
45
45
    PY3,
46
46
    text_type,
47
47
    viewitems,
517
517
 
518
518
 
519
519
mapping_registry = GitMappingRegistry()
520
 
mapping_registry.register_lazy(b'git-v1', "breezy.plugins.git.mapping",
 
520
mapping_registry.register_lazy(b'git-v1', __name__,
521
521
    "BzrGitMappingv1")
522
522
mapping_registry.register_lazy(b'git-experimental',
523
 
    "breezy.plugins.git.mapping", "BzrGitMappingExperimental")
 
523
    __name__, "BzrGitMappingExperimental")
524
524
# Uncomment the next line to enable the experimental bzr-git mappings.
525
525
# This will make sure all bzr metadata is pushed into git, allowing for
526
526
# full roundtripping later.