tests/test-filecache.py
changeset 30564 d83ca854fa21
parent 30342 318a24b52eeb
child 31226 21fa3d3688f3
--- a/tests/test-filecache.py	Wed Nov 30 19:23:04 2016 +0000
+++ b/tests/test-filecache.py	Sat Oct 22 14:35:10 2016 +0900
@@ -141,7 +141,7 @@
 def test_filecache_synced():
     # test old behavior that caused filecached properties to go out of sync
     os.system('hg init && echo a >> a && hg ci -qAm.')
-    repo = hg.repository(uimod.ui())
+    repo = hg.repository(uimod.ui.load())
     # first rollback clears the filecache, but changelog to stays in __dict__
     repo.rollback()
     repo.commit('.')