##// END OF EJS Templates
index: use `index.has_node` in `infinitypush`...
marmoute -
r43856:d4a485aa default draft
parent child Browse files
Show More
@@ -548,7 +548,7 b' def getbundlechunks(orig, repo, source, '
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)
General Comments 0
You need to be logged in to leave comments. Login now