Show More
@@ -555,7 +555,7 b' def unbundle(repo, proto, heads):' | |||||
555 | their_heads = decodelist(heads) |
|
555 | their_heads = decodelist(heads) | |
556 |
|
556 | |||
557 | def check_heads(): |
|
557 | def check_heads(): | |
558 |
heads = repo |
|
558 | heads = phases.visibleheads(repo) | |
559 | heads_hash = util.sha1(''.join(sorted(heads))).digest() |
|
559 | heads_hash = util.sha1(''.join(sorted(heads))).digest() | |
560 | return (their_heads == ['force'] or their_heads == heads or |
|
560 | return (their_heads == ['force'] or their_heads == heads or | |
561 | their_heads == ['hashed', heads_hash]) |
|
561 | their_heads == ['hashed', heads_hash]) |
General Comments 0
You need to be logged in to leave comments.
Login now