Mercurial > hg
diff contrib/bdiff-torture.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 | eccfd6500636 |
children | 0c73634d0570 |
line wrap: on
line diff
--- a/contrib/bdiff-torture.py Wed Apr 26 21:56:47 2017 +0900 +++ b/contrib/bdiff-torture.py Wed Apr 26 22:03:37 2017 +0900 @@ -5,7 +5,7 @@ import sys from mercurial import ( - bdiff, + mdiff, mpatch, ) @@ -42,7 +42,7 @@ sys.exit(0) def test1(a, b): - d = bdiff.bdiff(a, b) + d = mdiff.textdiff(a, b) if not d: raise ValueError("empty") c = mpatch.patches(a, [d])