Show More
@@ -678,8 +678,6 b' def newheads(repo, heads, roots):' | |||
|
678 | 678 | # The logic operated on revisions, convert arguments early for convenience |
|
679 | 679 | new_heads = set(rev(n) for n in heads if n != nullid) |
|
680 | 680 | roots = [rev(n) for n in roots] |
|
681 | if not heads or not roots: | |
|
682 | return heads | |
|
683 | 681 | # compute the area we need to remove |
|
684 | 682 | affected_zone = repo.revs("(%ld::%ld)", roots, new_heads) |
|
685 | 683 | # heads in the area are no longer heads |
General Comments 0
You need to be logged in to leave comments.
Login now