diff -r 6d948926515b -r 81d8da31c542 hgkw/keyword.py --- a/hgkw/keyword.py Sun Jun 06 20:19:24 2010 +0100 +++ b/hgkw/keyword.py Mon Jun 07 20:03:32 2010 +0200 @@ -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')