diff -r 346af7687c6f -r 89a2afe31e82 mercurial/bundle2.py --- a/mercurial/bundle2.py Fri Nov 27 17:00:00 2020 -0500 +++ b/mercurial/bundle2.py Fri Nov 27 17:03:29 2020 -0500 @@ -489,7 +489,12 @@ def _processchangegroup(op, cg, tr, source, url, **kwargs): ret = cg.apply(op.repo, tr, source, url, **kwargs) - op.records.add(b'changegroup', {b'return': ret,}) + op.records.add( + b'changegroup', + { + b'return': ret, + }, + ) return ret @@ -1647,8 +1652,7 @@ def obsmarkersversion(caps): - """extract the list of supported obsmarkers versions from a bundle2caps dict - """ + """extract the list of supported obsmarkers versions from a bundle2caps dict""" obscaps = caps.get(b'obsmarkers', ()) return [int(c[1:]) for c in obscaps if c.startswith(b'V')]