hgkw/keyword.py
changeset 762 f1669336617b
parent 761 81d8da31c542
child 763 9b4e36da5ffb
--- 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')