branch | stable |
changeset 929 | 9bed13113742 |
parent 901 | 3d47747bf5b3 |
child 938 | 9e55adfb3a21 |
--- a/hgkw/keyword.py Mon May 02 19:20:29 2011 +0200 +++ b/hgkw/keyword.py Mon May 02 10:11:18 2011 +0200 @@ -413,7 +413,7 @@ demoitems('keywordset', ui.configitems('keywordset')) demoitems('keywordmaps', kwmaps.iteritems()) keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n' - repo.wopener(fn, 'w').write(keywords) + repo.wopener.write(fn, keywords) repo[None].add([fn]) ui.note(_('\nkeywords written to %s:\n') % fn) ui.note(keywords)