tests/autodiff.py
changeset 48117 b74e128676d4
parent 43076 2372284d9457
child 48875 6000f5b25c9b
--- a/tests/autodiff.py	Tue Sep 28 08:47:11 2021 -0700
+++ b/tests/autodiff.py	Tue Sep 28 13:59:01 2021 -0700
@@ -4,6 +4,7 @@
 
 from mercurial import (
     error,
+    logcmdutil,
     patch,
     pycompat,
     registrar,
@@ -49,7 +50,7 @@
     else:
         raise error.Abort(b'--git must be yes, no or auto')
 
-    ctx1, ctx2 = scmutil.revpair(repo, [])
+    ctx1, ctx2 = logcmdutil.revpair(repo, [])
     m = scmutil.match(ctx2, pats, opts)
     it = patch.diff(
         repo,