mercurial/bundle2.py
changeset 45957 89a2afe31e82
parent 45682 d2e1dcd4490d
child 46114 59fa3890d40a
--- 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')]