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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 03:06:42 UTC
  • mfrom: (7045.3.4 python3-r)
  • Revision ID: breezy.the.bot@gmail.com-20180725030642-oghhedvui3470wy6
Fix another ~500 tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-r/+merge/350430

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
                source_branch.tags.merge_to(head_branch.tags)
152
152
                if not head_branch.get_parent():
153
153
                    url = urlutils.join_segment_parameters(
154
 
                        source_branch.base, {"branch": urllib.quote(branch_name.encode('utf-8'), '')})
 
154
                        source_branch.base, {"branch": urlutils.escape(branch_name)})
155
155
                    head_branch.set_parent(url)
156
156
        finally:
157
157
            pb.finished()