contrib/bdiff-torture.py
changeset 32247 0c73634d0570
parent 32246 ded48ad55146
child 41387 876494fd967d
--- 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")