##// END OF EJS Templates
test-filecache: alias ui as uimod
Yuya Nishihara -
r28803:76c091f9 default
parent child Browse files
Show More
@@ -11,7 +11,7 b' from mercurial import ('
11 extensions,
11 extensions,
12 hg,
12 hg,
13 scmutil,
13 scmutil,
14 ui,
14 ui as uimod,
15 util,
15 util,
16 )
16 )
17
17
@@ -141,7 +141,7 b' def fakeuncacheable():'
141 def test_filecache_synced():
141 def test_filecache_synced():
142 # test old behavior that caused filecached properties to go out of sync
142 # test old behavior that caused filecached properties to go out of sync
143 os.system('hg init && echo a >> a && hg ci -qAm.')
143 os.system('hg init && echo a >> a && hg ci -qAm.')
144 repo = hg.repository(ui.ui())
144 repo = hg.repository(uimod.ui())
145 # first rollback clears the filecache, but changelog to stays in __dict__
145 # first rollback clears the filecache, but changelog to stays in __dict__
146 repo.rollback()
146 repo.rollback()
147 repo.commit('.')
147 repo.commit('.')
General Comments 0
You need to be logged in to leave comments. Login now