hgkw/keyword.py
branchstable
changeset 1222 01c23fd3d424
parent 1147 95e6504e6e27
child 1309 02972bce7d41
--- a/hgkw/keyword.py	Wed Apr 17 03:41:34 2013 +0200
+++ b/hgkw/keyword.py	Wed Oct 10 21:55:49 2012 +0200
@@ -384,7 +384,7 @@
     fn = 'demo.txt'
     tmpdir = tempfile.mkdtemp('', 'kwdemo.')
     ui.note(_('creating temporary repository at %s\n') % tmpdir)
-    repo = localrepo.localrepository(ui, tmpdir, True)
+    repo = localrepo.localrepository(repo.baseui, tmpdir, True)
     ui.setconfig('keyword', fn, '')
     svn = ui.configbool('keywordset', 'svn')
     # explicitly set keywordset for demo output