diff tests/test_util.py @ 511:0e2564d4257d

paths: autoescape paths from the user This means that users should no longer URI-encode their paths. This is a change from the past, and may require some small changes to .hg/hgrc. This fixes certain odd issues resulting from inconsistent handling of URI-encoding throughout hgsubversion.
author Augie Fackler <durin42@gmail.com>
date Thu, 24 Dec 2009 13:30:08 -0600
parents 1fd3cfa47c5e
children c421e6bf0d95
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -89,7 +89,6 @@ def filtermanifest(manifest):
 def fileurl(path):
     path = os.path.abspath(path)
     drive, path = os.path.splitdrive(path)
-    path = urllib.pathname2url(path)
     if drive:
         drive = '/' + drive
     url = 'file://%s%s' % (drive, path)