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

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
to true URLs.  Examples include lp:urls and per-user location aliases.
21
21
"""
22
22
 
 
23
from __future__ import absolute_import
 
24
 
23
25
from . import (
24
26
    errors,
25
27
    registry,
183
185
 
184
186
    def look_up(self, name, url, purpose=None):
185
187
        dir = _mod_controldir.ControlDir.open_containing('.')[0]
186
 
        return urlutils.join_segment_parameters(
187
 
            dir.user_url, {"branch": urlutils.escape(name)})
 
188
        return urlutils.join_segment_parameters(dir.user_url,
 
189
                                                {"branch": urlutils.escape(name)})
188
190
 
189
191
 
190
192
directories.register('co:', ColocatedDirectory,