diff -r 8cab71dc5725 -r f1669336617b hgkw/keyword.py --- a/hgkw/keyword.py Thu Jun 03 10:37:31 2010 +0100 +++ b/hgkw/keyword.py Tue Jun 08 09:55:08 2010 +0100 @@ -356,7 +356,7 @@ demoitems('keywordmaps', kwmaps.iteritems()) keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n' repo.wopener(fn, 'w').write(keywords) - repo.add([fn]) + repo[None].add([fn]) ui.note(_('\nkeywords written to %s:\n') % fn) ui.note(keywords) repo.dirstate.setbranch('demobranch')