D918: test-revlog-mmapindex: make it compatible with chg
quark (Jun Wu)
phabricator at mercurial-scm.org
Wed Oct 4 13:16:38 UTC 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb0c97e44576f: test-revlog-mmapindex: make it compatible with chg (authored by quark, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D918?vs=2373&id=2403
REVISION DETAIL
https://phab.mercurial-scm.org/D918
AFFECTED FILES
tests/test-revlog-mmapindex.t
CHANGE DETAILS
diff --git a/tests/test-revlog-mmapindex.t b/tests/test-revlog-mmapindex.t
--- a/tests/test-revlog-mmapindex.t
+++ b/tests/test-revlog-mmapindex.t
@@ -9,11 +9,12 @@
> 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)
>
- > def extsetup(ui):
> extensions.wrapfunction(util, 'mmapread', mmapread)
> EOF
To: quark, #hg-reviewers, singhsrb
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list