doc/check-seclevel.py
branchstable
changeset 49205 45e71954612c
parent 45830 c102b704edb5
child 49217 13dfad0f9f7a
equal deleted inserted replaced
49204:3f9125db466f 49205:45e71954612c
     8 import os
     8 import os
     9 import sys
     9 import sys
    10 
    10 
    11 # import from the live mercurial repo
    11 # import from the live mercurial repo
    12 os.environ['HGMODULEPOLICY'] = 'py'
    12 os.environ['HGMODULEPOLICY'] = 'py'
    13 sys.path.insert(0, "..")
    13 sys.path.insert(0, os.path.abspath(".."))
    14 from mercurial import demandimport
    14 from mercurial import demandimport
    15 
    15 
    16 demandimport.enable()
    16 demandimport.enable()
    17 from mercurial import (
    17 from mercurial import (
    18     commands,
    18     commands,