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