/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to breezy/git/git-remote-bzr

  • Committer: Breezy landing bot
  • Author(s): Vincent Ladeuil
  • Date: 2019-03-06 14:58:32 UTC
  • mfrom: (7294.1.2 trunk)
  • Revision ID: breezy.the.bot@gmail.com-20190306145832-ghgjxu1recloriwh
Open trunk again as 3.1.0dev1

Merged from https://code.launchpad.net/~vila/brz/trunk/+merge/364041

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import breezy
33
33
breezy.initialize()
34
34
 
 
35
from breezy.sixish import PY3
 
36
 
35
37
from breezy.plugin import load_plugins
36
38
load_plugins()
37
39
 
38
 
from breezy.plugins.git.git_remote_helper import (
 
40
from breezy.git.git_remote_helper import (
39
41
    RemoteHelper,
40
42
    open_local_dir,
41
43
    open_remote_dir,
46
48
(shortname, url) = args
47
49
 
48
50
helper = RemoteHelper(open_local_dir(), shortname, open_remote_dir(url))
49
 
helper.process(sys.stdin, sys.stdout)
 
51
if PY3:
 
52
    helper.process(sys.stdin.buffer, sys.stdout.buffer)
 
53
else:
 
54
    helper.process(sys.stdin, sys.stdout)