test-revlog-mmapindex: make it compatible with chg

The test misses an explicit flush().

Differential Revision: https://phab.mercurial-scm.org/D918
This commit is contained in:
Jun Wu 2017-10-02 19:31:33 -07:00
parent 9dd2be2e99
commit 372ecf5929

View File

@ -9,11 +9,12 @@ create verbosemmap.py
> util,
> )
>
> def mmapread(orig, fp):
> print "mmapping %s" % fp.name
> return orig(fp)
>
> def extsetup(ui):
> def mmapread(orig, fp):
> ui.write("mmapping %s\n" % fp.name)
> ui.flush()
> return orig(fp)
>
> extensions.wrapfunction(util, 'mmapread', mmapread)
> EOF