This revision was automatically updated to reflect the committed changes.
Closed by commit rHGcdccfe20eed7: py3: use pycompat.byteskwargs() in
tests/autodiff.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3129?vs=7712=7727
REVISION DETAIL
https://phab.mercurial-scm.org/D3129
AFFECTED FILES
tests/autodiff.py
CHANGE DETAILS
diff --git a/tests/autodiff.py b/tests/autodiff.py
--- a/tests/autodiff.py
+++ b/tests/autodiff.py
@@ -5,6 +5,7 @@
from mercurial import (
error,
patch,
+pycompat,
registrar,
scmutil,
)
@@ -16,6 +17,7 @@
[(b'', b'git', b'', b'git upgrade mode (yes/no/auto/warn/abort)')],
b'[OPTION]... [FILE]...')
def autodiff(ui, repo, *pats, **opts):
+opts = pycompat.byteskwargs(opts)
diffopts = patch.difffeatureopts(ui, opts)
git = opts.get(b'git', b'no')
brokenfiles = set()
To: pulkit, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel