hgext/keyword.py
changeset 10714 9c0a1887bd4b
parent 10713 b9c3f8e88e4f
child 10844 6722ba3bf80b
--- a/hgext/keyword.py	Tue Mar 16 22:28:58 2010 +0100
+++ b/hgext/keyword.py	Tue Mar 16 22:29:16 2010 +0100
@@ -322,11 +322,7 @@
 
     uisetup(ui)
     reposetup(ui, repo)
-    for k, v in ui.configitems('extensions'):
-        if k.endswith('keyword'):
-            extension = '%s = %s' % (k, v)
-            break
-    ui.write('[extensions]\n%s\n' % extension)
+    ui.write('[extensions]\nkeyword =\n')
     demoitems('keyword', ui.configitems('keyword'))
     demoitems('keywordmaps', kwmaps.iteritems())
     keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n'