hgext/keyword.py
changeset 39564 7ce9dea3a14a
parent 39451 16c27483f50f
child 40220 c7ffc53fbd19
--- a/hgext/keyword.py	Fri Sep 07 15:57:55 2018 -0700
+++ b/hgext/keyword.py	Tue Sep 11 13:46:59 2018 -0700
@@ -439,7 +439,7 @@
         baseui = ui
     else:
         baseui = repo.baseui
-    repo = localrepo.localrepository(baseui, tmpdir, True)
+    repo = localrepo.instance(baseui, tmpdir, create=True)
     ui.setconfig('keyword', fn, '', 'keyword')
     svn = ui.configbool('keywordset', 'svn')
     # explicitly set keywordset for demo output