mercurial/httprepo.py
changeset 4853 bf10a03a6b24
parent 4739 1da35d1e7ef9
child 5123 79373ec3f27d
--- a/mercurial/httprepo.py	Sat Jul 07 21:55:56 2007 -0700
+++ b/mercurial/httprepo.py	Sun Jul 08 09:54:42 2007 +0200
@@ -409,9 +409,6 @@
 def instance(ui, path, create):
     if create:
         raise util.Abort(_('cannot create new http repository'))
-    if path.startswith('hg:'):
-        ui.warn(_("hg:// syntax is deprecated, please use http:// instead\n"))
-        path = 'http:' + path[3:]
     if path.startswith('https:'):
         return httpsrepository(ui, path)
     return httprepository(ui, path)