/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/propose/gitlabs.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-10-27 18:21:19 UTC
  • mfrom: (7408.2.1 git-branch-escaping)
  • Revision ID: breezy.the.bot@gmail.com-20191027182119-ah6bshqaabi0ddva
Use standard functions for creating Git URLs.

Merged from https://code.launchpad.net/~jelmer/brz/git-branch-escaping/+merge/374756

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
def gitlab_url_to_bzr_url(url, name):
240
240
    if not PY3:
241
241
        name = name.encode('utf-8')
242
 
    return urlutils.join_segment_parameters(
243
 
        git_url_to_bzr_url(url), {"branch": name})
 
242
    return git_url_to_bzr_url(url, branch=name)
244
243
 
245
244
 
246
245
class GitLab(Hoster):