mercurial/localrepo.py
changeset 11603 2eab5025f804
parent 11598 5be142109ed4
child 11644 c4f6f0a1bd5a
equal deleted inserted replaced
11602:ba2520dd1e29 11603:2eab5025f804
  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.