Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Tue, 08 Jun 2010 09:55:08 +0100
changeset 762 f1669336617b
parent 759 8cab71dc5725 (current diff)
parent 761 81d8da31c542 (diff)
child 763 9b4e36da5ffb
Merge with stable
--- 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')