mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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:
parent
9dd2be2e99
commit
372ecf5929
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user