diff mercurial/util.py @ 1101:2cf5c8a4eae5

Separate out old-http support - create new statichttprepo class - pull remote bits out of localrepo - pull remote bits out of util.opener - switch hg.repository to use statichttprepo
author mpm@selenic.com
date Sat, 27 Aug 2005 16:28:53 -0700
parents 1bca39b85615
children c81d264cd17d
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -243,10 +243,6 @@ def opener(base):
     """
     p = base
     def o(path, mode="r"):
-        if p.startswith("http://"):
-            f = os.path.join(p, urllib.quote(path))
-            return httprangereader.httprangereader(f)
-
         f = os.path.join(p, path)
 
         mode += "b" # for that other OS