Skip to content
Snippets Groups Projects
Commit cdccfe20 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use pycompat.byteskwargs() in tests/autodiff.py

Differential Revision: https://phab.mercurial-scm.org/D3129
parent 87c4253b
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment