hgkw/keyword.py
changeset 443 3b71ebfe45ac
parent 442 1bb9230b055d
child 446 1c3a9f84dbbc
--- a/hgkw/keyword.py	Wed Apr 09 00:55:21 2008 +0200
+++ b/hgkw/keyword.py	Wed Apr 09 09:13:17 2008 +0200
@@ -135,7 +135,7 @@
 
         kwmaps = self.ui.configitems('keywordmaps')
         if kwmaps: # override default templates
-            kwmaps = [(k, templater.parsestring(v, quoted=False))
+            kwmaps = [(k, templater.parsestring(v, False))
                       for (k, v) in kwmaps]
             self.templates = dict(kwmaps)
         escaped = map(re.escape, self.templates.keys())
@@ -309,7 +309,7 @@
     branchname = 'demobranch'
     tmpdir = tempfile.mkdtemp('', 'kwdemo.')
     ui.note(_('creating temporary repo at %s\n') % tmpdir)
-    repo = localrepo.localrepository(ui, path=tmpdir, create=True)
+    repo = localrepo.localrepository(ui, tmpdir, True)
     ui.setconfig('keyword', fn, '')
     if args or opts.get('rcfile'):
         kwstatus = 'custom'