##// END OF EJS Templates
wireprotocol: use visibleheads as reference while unbundling (issue 3303)...
Pierre-Yves David -
r16532:9eba72cd stable
parent child Browse files
Show More
@@ -555,7 +555,7 b' def unbundle(repo, proto, heads):'
555 555 their_heads = decodelist(heads)
556 556
557 557 def check_heads():
558 heads = repo.heads()
558 heads = phases.visibleheads(repo)
559 559 heads_hash = util.sha1(''.join(sorted(heads))).digest()
560 560 return (their_heads == ['force'] or their_heads == heads or
561 561 their_heads == ['hashed', heads_hash])
General Comments 0
You need to be logged in to leave comments. Login now