Show More
@@ -9,11 +9,12 b' create verbosemmap.py' | |||
|
9 | 9 | > util, |
|
10 | 10 | > ) |
|
11 | 11 | > |
|
12 | > def mmapread(orig, fp): | |
|
13 | > print "mmapping %s" % fp.name | |
|
14 | > return orig(fp) | |
|
12 | > def extsetup(ui): | |
|
13 | > def mmapread(orig, fp): | |
|
14 | > ui.write("mmapping %s\n" % fp.name) | |
|
15 | > ui.flush() | |
|
16 | > return orig(fp) | |
|
15 | 17 | > |
|
16 | > def extsetup(ui): | |
|
17 | 18 | > extensions.wrapfunction(util, 'mmapread', mmapread) |
|
18 | 19 | > EOF |
|
19 | 20 |
General Comments 0
You need to be logged in to leave comments.
Login now