equal
deleted
inserted
replaced
546 scratchheads = [] |
546 scratchheads = [] |
547 nodestobundle = {} |
547 nodestobundle = {} |
548 allbundlestocleanup = [] |
548 allbundlestocleanup = [] |
549 try: |
549 try: |
550 for head in heads: |
550 for head in heads: |
551 if head not in repo.changelog.nodemap: |
551 if not repo.changelog.index.has_node(head): |
552 if head not in nodestobundle: |
552 if head not in nodestobundle: |
553 newbundlefile = common.downloadbundle(repo, head) |
553 newbundlefile = common.downloadbundle(repo, head) |
554 bundlepath = b"bundle:%s+%s" % (repo.root, newbundlefile) |
554 bundlepath = b"bundle:%s+%s" % (repo.root, newbundlefile) |
555 bundlerepo = hg.repository(repo.ui, bundlepath) |
555 bundlerepo = hg.repository(repo.ui, bundlepath) |
556 |
556 |