/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/git-remote-bzr

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 03:10:29 UTC
  • mfrom: (7312 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190603031029-b34je03bjulxxdwj
Merge trunk.

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)