~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
602
602
    return urllib.quote(relpath)
603
603
 
604
604
 
 
605
def urlunescape(relpath):
 
606
    """Unescape relpath from url format."""
 
607
    import urllib
 
608
    return urllib.unquote(relpath)
 
609
    # TODO de-utf8 it last. relpath = utf8relpath.decode('utf8')
 
610
 
 
611
 
605
612
class Server(object):
606
613
    """A Transport Server.
607
614