changeset 28174 | f16b84b1e40e |
parent 27874 | 4ff0e2347ae6 |
child 29303 | 3a2357c31d2a |
--- a/mercurial/phases.py Wed Jan 20 22:10:17 2016 -0500 +++ b/mercurial/phases.py Mon Feb 15 16:49:52 2016 -0800 @@ -435,11 +435,11 @@ continue node = bin(nhex) phase = int(phase) - if phase == 0: + if phase == public: if node != nullid: repo.ui.warn(_('ignoring inconsistent public root' ' from remote: %s\n') % nhex) - elif phase == 1: + elif phase == draft: if node in nodemap: draftroots.append(node) else: