Mercurial > hg
diff contrib/perf.py @ 32202:ded48ad55146
bdiff: proxy through mdiff module
See the previous commit for why.
mdiff seems a good place to host bdiff functions. bdiff.bdiff was already
aliased as textdiff, so we use it.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 26 Apr 2017 22:03:37 +0900 |
parents | f6d77af84ef3 |
children | 6b582f9b6e5e |
line wrap: on
line diff
--- a/contrib/perf.py Wed Apr 26 21:56:47 2017 +0900 +++ b/contrib/perf.py Wed Apr 26 22:03:37 2017 +0900 @@ -26,7 +26,6 @@ import sys import time from mercurial import ( - bdiff, changegroup, cmdutil, commands, @@ -812,7 +811,7 @@ def d(): for pair in textpairs: - bdiff.bdiff(*pair) + mdiff.textdiff(*pair) timer, fm = gettimer(ui, opts) timer(d)