##// END OF EJS Templates
phases: use constants for phase values...
Gregory Szorc -
r28174:f16b84b1 default
parent child Browse files
Show More
@@ -435,11 +435,11 b' def analyzeremotephases(repo, subset, ro'
435 435 continue
436 436 node = bin(nhex)
437 437 phase = int(phase)
438 if phase == 0:
438 if phase == public:
439 439 if node != nullid:
440 440 repo.ui.warn(_('ignoring inconsistent public root'
441 441 ' from remote: %s\n') % nhex)
442 elif phase == 1:
442 elif phase == draft:
443 443 if node in nodemap:
444 444 draftroots.append(node)
445 445 else:
General Comments 0
You need to be logged in to leave comments. Login now