mercurial/phases.py
changeset 25966 f14cea32e1d4
parent 25660 328739ea70c3
child 26587 56b2bcea2529
equal deleted inserted replaced
25965:e6b56b2c1f26 25966:f14cea32e1d4
    98 - other people see it as public
    98 - other people see it as public
    99 - content is pushed as draft
    99 - content is pushed as draft
   100 
   100 
   101 """
   101 """
   102 
   102 
       
   103 from __future__ import absolute_import
       
   104 
       
   105 import errno
   103 import os
   106 import os
   104 import errno
   107 
   105 from node import nullid, nullrev, bin, hex, short
   108 from .i18n import _
   106 from i18n import _
   109 from .node import (
   107 import util, error
   110     bin,
       
   111     hex,
       
   112     nullid,
       
   113     nullrev,
       
   114     short,
       
   115 )
       
   116 from . import (
       
   117     error,
       
   118     util,
       
   119 )
   108 
   120 
   109 allphases = public, draft, secret = range(3)
   121 allphases = public, draft, secret = range(3)
   110 trackedphases = allphases[1:]
   122 trackedphases = allphases[1:]
   111 phasenames = ['public', 'draft', 'secret']
   123 phasenames = ['public', 'draft', 'secret']
   112 
   124