diff tests/test-context.py @ 38588:b62000a28812

diffutil: remove diffopts() in favor of diffallopts() patch.diffopts() exists only for backward compatibility. We don't need it in new module.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 06 Jul 2018 21:41:36 +0900
parents b9724978633e
children 1c93e0237a24
line wrap: on
line diff
--- a/tests/test-context.py	Fri Jul 06 21:38:33 2018 +0900
+++ b/tests/test-context.py	Fri Jul 06 21:41:36 2018 +0900
@@ -77,7 +77,7 @@
 print(ctxb.status(ctxa))
 
 # test performing a diff on a memctx
-diffopts = diffutil.diffopts(repo.ui, {'git': True})
+diffopts = diffutil.diffallopts(repo.ui, {'git': True})
 for d in ctxb.diff(ctxa, opts=diffopts):
     printb(d, end=b'')