Show More
@@ -664,6 +664,8 b' def newheads(repo, heads, roots):' | |||||
664 |
|
664 | |||
665 | * `heads`: define the first subset |
|
665 | * `heads`: define the first subset | |
666 | * `roots`: define the second we subtract from the first""" |
|
666 | * `roots`: define the second we subtract from the first""" | |
|
667 | if not heads or not roots: | |||
|
668 | return heads | |||
667 | repo = repo.unfiltered() |
|
669 | repo = repo.unfiltered() | |
668 | revs = repo.revs('heads(::%ln - (%ln::%ln))', heads, roots, heads) |
|
670 | revs = repo.revs('heads(::%ln - (%ln::%ln))', heads, roots, heads) | |
669 | return pycompat.maplist(repo.changelog.node, revs) |
|
671 | return pycompat.maplist(repo.changelog.node, revs) |
General Comments 0
You need to be logged in to leave comments.
Login now