diff contrib/bdiff-torture.py @ 32203:0c73634d0570

mpatch: proxy through mdiff module See the previous commit for why.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 26 Apr 2017 22:05:59 +0900
parents ded48ad55146
children 876494fd967d
line wrap: on
line diff
--- a/contrib/bdiff-torture.py	Wed Apr 26 22:03:37 2017 +0900
+++ b/contrib/bdiff-torture.py	Wed Apr 26 22:05:59 2017 +0900
@@ -6,7 +6,6 @@
 
 from mercurial import (
     mdiff,
-    mpatch,
 )
 
 def reducetest(a, b):
@@ -45,7 +44,7 @@
     d = mdiff.textdiff(a, b)
     if not d:
         raise ValueError("empty")
-    c = mpatch.patches(a, [d])
+    c = mdiff.patches(a, [d])
     if c != b:
         raise ValueError("bad")