diff hgext/schemes.py @ 14606:6e631c24c6d9

hg: move peerschemes back to schemes This will avoid breaking things with extensions until peers are fully separated from repos.
author Matt Mackall <mpm@selenic.com>
date Mon, 13 Jun 2011 16:25:18 -0500
parents 9f1139cf5c76
children 8f4bad72d8b1
line wrap: on
line diff
--- a/hgext/schemes.py	Mon Jun 13 14:53:23 2011 -0500
+++ b/hgext/schemes.py	Mon Jun 13 16:25:18 2011 -0500
@@ -93,6 +93,6 @@
             and os.path.exists('%s:\\' % scheme)):
             raise util.Abort(_('custom scheme %s:// conflicts with drive '
                                'letter %s:\\\n') % (scheme, scheme.upper()))
-        hg.peerschemes[scheme] = ShortRepository(url, scheme, t)
+        hg.schemes[scheme] = ShortRepository(url, scheme, t)
 
     extensions.wrapfunction(util, 'hasdriveletter', hasdriveletter)