~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Jonathan Lange
  • Date: 2009-03-11 00:23:46 UTC
  • mto: This revision was merged to the branch mainline in revision 4115.
  • Revision ID: jml@canonical.com-20090311002346-qcistwhfguu6lmvs
Don'tĀ escapeĀ tildes

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        relpath = relpath.encode('utf-8')
69
69
    # After quoting and encoding, the path should be perfectly
70
70
    # safe as a plain ASCII string, str() just enforces this
71
 
    return str(urllib.quote(relpath))
 
71
    return str(urllib.quote(relpath, safe='/~'))
72
72
 
73
73
 
74
74
def file_relpath(base, path):