Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Tue, 13 Apr 2010 10:05:51 +0200
changeset 713 287137014488
parent 710 2f341cf2268d (diff)
parent 712 d01d3a15995a (current diff)
child 714 1acf49264a06
Merge with stable
tests/test-keyword.out
--- a/hgkw/keyword.py	Mon Apr 12 17:21:30 2010 -0700
+++ b/hgkw/keyword.py	Tue Apr 13 10:05:51 2010 +0200
@@ -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'
--- a/tests/test-keyword.out	Mon Apr 12 17:21:30 2010 -0700
+++ b/tests/test-keyword.out	Tue Apr 13 10:05:51 2010 +0200
@@ -1,6 +1,6 @@
 % hg kwdemo
 [extensions]
-keyword = 
+keyword =
 [keyword]
 demo.txt = 
 [keywordmaps]
@@ -21,7 +21,7 @@
 $Revision: xxxxxxxxxxxx $
 $Source: /TMP/demo.txt,v $
 [extensions]
-keyword = 
+keyword =
 [keyword]
 demo.txt = 
 [keywordmaps]
@@ -206,7 +206,7 @@
 % custom keyword expansion
 % try with kwdemo
 [extensions]
-keyword = 
+keyword =
 [keyword]
 * = 
 b = ignore