hgext/schemes.py
changeset 13827 f1823b9f073b
parent 13822 fbf32a6c903e
child 14076 924c82157d46
--- a/hgext/schemes.py	Wed Mar 30 20:03:05 2011 -0700
+++ b/hgext/schemes.py	Thu Mar 31 10:43:53 2011 -0500
@@ -71,7 +71,7 @@
         url = ''.join(self.templater.process(self.url, context)) + tail
         return hg._lookup(url).instance(ui, url, create)
 
-def has_drive_letter(orig, path):
+def hasdriveletter(orig, path):
     for scheme in schemes:
         if path.startswith(scheme + ':'):
             return False
@@ -95,4 +95,4 @@
                                'letter %s:\\\n') % (scheme, scheme.upper()))
         hg.schemes[scheme] = ShortRepository(url, scheme, t)
 
-    extensions.wrapfunction(urlmod, 'has_drive_letter', has_drive_letter)
+    extensions.wrapfunction(urlmod, 'hasdriveletter', hasdriveletter)