move working dir/dirstate methods from localrepo to workingctx
[ original upstream message ]
--- 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')