##// END OF EJS Templates
test-revlog-mmapindex: make it compatible with chg...
Jun Wu -
r34447:b0c97e44 default
parent child Browse files
Show More
@@ -9,11 +9,12 b' create verbosemmap.py'
9 > util,
9 > util,
10 > )
10 > )
11 >
11 >
12 > def mmapread(orig, fp):
12 > def extsetup(ui):
13 > print "mmapping %s" % fp.name
13 > def mmapread(orig, fp):
14 > return orig(fp)
14 > ui.write("mmapping %s\n" % fp.name)
15 > ui.flush()
16 > return orig(fp)
15 >
17 >
16 > def extsetup(ui):
17 > extensions.wrapfunction(util, 'mmapread', mmapread)
18 > extensions.wrapfunction(util, 'mmapread', mmapread)
18 > EOF
19 > EOF
19
20
General Comments 0
You need to be logged in to leave comments. Login now