changeset 46547 | 5aac1a1a5beb |
parent 46481 | 29e3e46b0a22 |
child 46571 | 83ac7c91e172 |
--- a/mercurial/bundle2.py Thu Feb 11 20:36:46 2021 -0800 +++ b/mercurial/bundle2.py Thu Dec 24 11:21:23 2020 -0500 @@ -1769,7 +1769,7 @@ for node in outgoing.ancestorsof: # Don't compute missing, as this may slow down serving. fnode = cache.getfnode(node, computemissing=False) - if fnode is not None: + if fnode: chunks.extend([node, fnode]) if chunks: