hgext/keyword.py
changeset 18825 f0564402d059
parent 17795 9fcea3f47a3a
child 19997 de16c673455b
--- a/hgext/keyword.py	Mon Mar 04 22:34:11 2013 +0000
+++ b/hgext/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