mercurial/extensions.py
changeset 7011 7da76778dbd7
parent 6212 e75aab656f46
child 7215 0ab5f21c390b
--- a/mercurial/extensions.py	Mon Sep 08 14:22:14 2008 +0200
+++ b/mercurial/extensions.py	Tue Sep 09 14:43:12 2008 +0200
@@ -29,7 +29,7 @@
         raise KeyError(name)
 
 def load(ui, name, path):
-    if name.startswith('hgext.'):
+    if name.startswith('hgext.') or name.startswith('hgext/'):
         shortname = name[6:]
     else:
         shortname = name