Skip to content
Snippets Groups Projects
Commit cbffa135 authored by Manuel Jacob's avatar Manuel Jacob
Browse files

py3: un-byteify argument names

parent 21e60510
No related branches found
No related tags found
2 merge requests!20Python 3 porting: ready for review (and merge),!19Byteify sources
......@@ -68,9 +68,9 @@
# Different versions of mercurial have different parameters to
# memfilectx. Try them from newest to oldest.
parameters_to_try = (
((repo, changectx, path, data), { b'copysource': copysource }), # hg >= 5.0
((repo, changectx, path, data), { b'copied': copysource }), # hg 4.5 - 4.9.1
((repo, path, data), { b'copied': copysource }), # hg 3.1 - 4.4.2
((repo, changectx, path, data), { 'copysource': copysource }), # hg >= 5.0
((repo, changectx, path, data), { 'copied': copysource }), # hg 4.5 - 4.9.1
((repo, path, data), { 'copied': copysource }), # hg 3.1 - 4.4.2
)
for (args, kwargs) in parameters_to_try:
try:
......
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