Show More
@@ -672,7 +672,7 def analyzeremotephases(repo, subset, ro | |||||
672 | repo = repo.unfiltered() |
|
672 | repo = repo.unfiltered() | |
673 | # build list from dictionary |
|
673 | # build list from dictionary | |
674 | draftroots = [] |
|
674 | draftroots = [] | |
675 |
node |
|
675 | has_node = repo.changelog.index.has_node # to filter unknown nodes | |
676 | for nhex, phase in pycompat.iteritems(roots): |
|
676 | for nhex, phase in pycompat.iteritems(roots): | |
677 | if nhex == b'publishing': # ignore data related to publish option |
|
677 | if nhex == b'publishing': # ignore data related to publish option | |
678 | continue |
|
678 | continue | |
@@ -688,7 +688,7 def analyzeremotephases(repo, subset, ro | |||||
688 | % nhex |
|
688 | % nhex | |
689 | ) |
|
689 | ) | |
690 | elif phase == draft: |
|
690 | elif phase == draft: | |
691 |
if node |
|
691 | if has_node(node): | |
692 | draftroots.append(node) |
|
692 | draftroots.append(node) | |
693 | else: |
|
693 | else: | |
694 | repo.ui.warn( |
|
694 | repo.ui.warn( |
General Comments 0
You need to be logged in to leave comments.
Login now