equal
deleted
inserted
replaced
1311 knownheads = set() |
1311 knownheads = set() |
1312 # We assume that all parents of bases are known heads. |
1312 # We assume that all parents of bases are known heads. |
1313 for n in bases: |
1313 for n in bases: |
1314 knownheads.update(cl.parents(n)) |
1314 knownheads.update(cl.parents(n)) |
1315 knownheads.discard(nullid) |
1315 knownheads.discard(nullid) |
1316 knownheads = list(knownheads) |
|
1317 if knownheads: |
1316 if knownheads: |
1318 # Now that we know what heads are known, we can compute which |
1317 # Now that we know what heads are known, we can compute which |
1319 # changesets are known. The recipient must know about all |
1318 # changesets are known. The recipient must know about all |
1320 # changesets required to reach the known heads from the null |
1319 # changesets required to reach the known heads from the null |
1321 # changeset. |
1320 # changeset. |