/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/plugins/git/git_remote_helper.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-15 10:19:11 UTC
  • mfrom: (7027.5.4 python3-git-more)
  • Revision ID: breezy.the.bot@gmail.com-20180715101911-hmg5n20a7ifuv7uk
Fix some more git-specific tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-git-more/+merge/349623

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
    def cmd_import(self, outf, argv):
143
143
        if "fastimport" in CAPABILITIES:
144
144
            raise Exception("install fastimport for 'import' command support")
145
 
        dest_branch_name = ref_to_branch_name(argv[1])
 
145
        dest_branch_name = ref_to_branch_name(argv[1].encode('utf-8'))
146
146
        if dest_branch_name == "master":
147
147
            dest_branch_name = None
148
148
        remote_branch = self.remote_dir.open_branch(name=dest_branch_name)