mercurial/destutil.py
changeset 43117 8ff1ecfadcd1
parent 43114 8197b395710e
child 45843 c7abdbc8fd47
--- a/mercurial/destutil.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/destutil.py	Tue Oct 08 15:06:18 2019 -0700
@@ -129,9 +129,9 @@
         heads = repo.branchheads(currentbranch, closed=True)
         assert heads, b"any branch has at least one head"
         node = repo.revs(b'max(.::(%ln))', heads).first()
-        assert node is not None, (
-            b"any revision has at least " b"one descendant branch head"
-        )
+        assert (
+            node is not None
+        ), b"any revision has at least one descendant branch head"
         if bookmarks.isactivewdirparent(repo):
             movemark = repo[b'.'].node()
     else: