changeset 14168 | 135e244776f0 |
parent 13971 | bfeaa88b875d |
child 14300 | 1b8e421d8e42 |
--- a/hgext/keyword.py Mon May 02 10:11:05 2011 +0200 +++ b/hgext/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)