~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-27 06:47:50 UTC
  • mfrom: (4294.2.12 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090427064750-e9obd6h83omt86ps
(robertc) Reduce roundtrips needed to push a new branch by coalescing
        many steps of the initialisation process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
724
724
    if host != "" and host[0] == '[' and host[-1] == ']': #IPv6
725
725
        host = host[1:-1]
726
726
 
727
 
    if host == '':
728
 
        raise errors.InvalidURL('Host empty in: %s' % url)
729
 
 
730
727
    host = urllib.unquote(host)
731
728
    path = urllib.unquote(path)
732
729