Hi,

  In order to solve debian bug #447088 [1], I wrote a two-line patch.
With this patch, mercurial considers that both next lines refers to
the same extension (mq in this example) and does not emit warnings
hgext.mq=
hgext/mq=
  I would like to know if you are interested by applying this patch
upstream or if I should maintain it only in the debian package.

  Best regards,
    Vincent

[1] http://bugs.debian.org/447088
Fix bug #447088
Index: mercurial-0.9.5/mercurial/extensions.py
===================================================================
--- mercurial-0.9.5.orig/mercurial/extensions.py	2007-11-02 11:49:43.000000000 +0100
+++ mercurial-0.9.5/mercurial/extensions.py	2007-11-02 11:58:15.000000000 +0100
@@ -29,6 +29,8 @@
         raise KeyError(name)
 
 def load(ui, name, path):
+    if name.startswith('hgext/'):
+        name = 'hgext.' + name[6:]
     if name.startswith('hgext.'):
         shortname = name[6:]
     else:

Reply via email to