phases: use constants for phase values
Magic numbers hinder readability.
Welcome to Mercurial for Windows!---------------------------------For configuration and usage directions, please read the ReadMe.htmlfile that comes with this package.Also check the release notes at: https://mercurial-scm.org/wiki/WhatsNew