tests/printenv.py
changeset 28944 036787c10b16
parent 25477 a372f7b4463b
child 36254 84a6e39bc723
equal deleted inserted replaced
28943:417380aa5bbe 28944:036787c10b16
    10 #   - <hookname> is a mandatory argument (e.g. "changegroup")
    10 #   - <hookname> is a mandatory argument (e.g. "changegroup")
    11 #   - [exit] is the exit code of the hook (default: 0)
    11 #   - [exit] is the exit code of the hook (default: 0)
    12 #   - [output] is the name of the output file (default: use sys.stdout)
    12 #   - [output] is the name of the output file (default: use sys.stdout)
    13 #              the file will be opened in append mode.
    13 #              the file will be opened in append mode.
    14 #
    14 #
       
    15 from __future__ import absolute_import
    15 import os
    16 import os
    16 import sys
    17 import sys
    17 
    18 
    18 try:
    19 try:
    19     import msvcrt
    20     import msvcrt