##// END OF EJS Templates
py3: use pycompat.byteskwargs() in tests/autodiff.py...
Pulkit Goyal -
r37386:cdccfe20 default
parent child Browse files
Show More
@@ -5,6 +5,7 b' from __future__ import absolute_import'
5 5 from mercurial import (
6 6 error,
7 7 patch,
8 pycompat,
8 9 registrar,
9 10 scmutil,
10 11 )
@@ -16,6 +17,7 b' command = registrar.command(cmdtable)'
16 17 [(b'', b'git', b'', b'git upgrade mode (yes/no/auto/warn/abort)')],
17 18 b'[OPTION]... [FILE]...')
18 19 def autodiff(ui, repo, *pats, **opts):
20 opts = pycompat.byteskwargs(opts)
19 21 diffopts = patch.difffeatureopts(ui, opts)
20 22 git = opts.get(b'git', b'no')
21 23 brokenfiles = set()
General Comments 0
You need to be logged in to leave comments. Login now