diff mercurial/mdiff.py @ 32246: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 4462a981e8df
children 3b88a7fa97d8
line wrap: on
line diff
--- a/mercurial/mdiff.py	Wed Apr 26 21:56:47 2017 +0900
+++ b/mercurial/mdiff.py	Wed Apr 26 22:03:37 2017 +0900
@@ -20,6 +20,8 @@
     util,
 )
 
+blocks = bdiff.blocks
+fixws = bdiff.fixws
 patches = mpatch.patches
 patchedsize = mpatch.patchedsize
 textdiff = bdiff.bdiff